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
This commit is contained in:
Václav Šmejkal 2023-03-12 12:22:42 +01:00
parent 8cfe1e39ea
commit c68f5a6f2b
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -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);