fixed bug where user's text would clear upon receiving message, even without pressing send

This commit is contained in:
2025-08-10 22:45:36 -06:00
parent d6d320eece
commit 191f50225f
-3
View File
@@ -158,10 +158,7 @@ void *output(void *arg) {
wmove(chatlog, crow - 1, 0);
wdeleteln(chatlog);
mvwprintw(chatlog, crow - 1, 0, "%s: %s", s, msg);
wmove(stdscr, row - 1, 16);
wclrtoeol(stdscr);
wrefresh(chatlog);
refresh();
}
return 0;