From c68f5a6f2b74673f195eefd4479dcba44e250b87 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sun, 12 Mar 2023 12:22:42 +0100 Subject: [PATCH] changed why2_listen_server message formatting it now looks good when message is received from somewhere/someone else; gonna fix own message formatting really soon that was a good one lol --- src/chat/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/misc.c b/src/chat/misc.c index 6aeff86..934759f 100644 --- a/src/chat/misc.c +++ b/src/chat/misc.c @@ -273,7 +273,7 @@ void *why2_listen_server(void *socket) for (;;) { read = why2_read_socket(*((int*) socket)); //TODO: Fix other user message formatting - printf("\033[A\33[2K\r"); + printf("\33[2K\r\033[A"); printf("%s\n>>> ", read); fflush(stdout);