fixed "local" message formatting

yeeees babyyyyyyyyyyyyy
This commit is contained in:
Václav Šmejkal 2023-03-12 12:24:56 +01:00
parent c68f5a6f2b
commit 92da77ff3e
Signed by: ENGO150
GPG Key ID: 4A57E86482968843

View File

@ -40,7 +40,7 @@ int main(void)
server_addr.sin_addr.s_addr = inet_addr(line);
printf("###################\n\n");
printf("###################\n\n\n");
int connectStatus = connect(listen_socket, (SA *) &server_addr, sizeof(server_addr)); //CONNECT
@ -51,6 +51,7 @@ int main(void)
for (;;)
{
getline(&line, &line_length, stdin);
printf("\33[2K\r\033[A");
why2_send_socket(line, listen_socket);