update Makefile and fix minor bugs

This commit is contained in:
2025-08-05 14:31:01 -06:00
parent 2fd3f1c81f
commit f33a2a6dbd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -88,7 +88,8 @@ void *receiver(void *arg) {
bytes = recv(confd, buf, 128, 0);
if (bytes != -1) {
printf("\nReceived: %s\n", buf);
mvprintw(row - 3, 10, ("Message: %s", buf));
refresh();
}
else if (bytes == 0) {
pthread_exit("connection closed");