shithub: wired

Download patch

ref: 789c8e5cafff824fa80f2496b501e6c359c86fe6
parent: d3fb184a9d99c91a68d716a471bdffc84b8097ed
author: james palmer <[email protected]>
date: Mon Jun 7 18:03:59 EDT 2021

add \n to the action message

--- a/main.c
+++ b/main.c
@@ -99,7 +99,7 @@
 	if(msg[0] == '\0')
 		return;
 	
-	buf = smprint("* %s %s", s->usr, msg);
+	buf = smprint("* %s %s\n", s->usr, msg);
 	write(s->fd, buf, strlen(buf));
 	
 	free(buf);