mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 05:56:21 +00:00
having wprintw go through win_save_(v)print.
Signed-off-by: James Booth <boothj5@gmail.com>
This commit is contained in:
@@ -394,10 +394,7 @@ wins_lost_connection(void)
|
||||
while (curr != NULL) {
|
||||
ProfWin *window = curr->data;
|
||||
if (window->type != WIN_CONSOLE) {
|
||||
win_print_time(window, '-');
|
||||
wattron(window->win, COLOUR_ERROR);
|
||||
wprintw(window->win, "%s\n", "Lost connection.");
|
||||
wattroff(window->win, COLOUR_ERROR);
|
||||
win_save_print(window, '-', NULL, 0, COLOUR_ERROR, "", "Lost connection.");
|
||||
|
||||
// if current win, set current_win_dirty
|
||||
if (wins_is_current(window)) {
|
||||
|
||||
Reference in New Issue
Block a user