From 0be0cc8198d70f98ffc205d80cb585ce37f42b23 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 18 Nov 2001 22:09:02 +0000 Subject: [PATCH] term_refresh(): Change the color to black after everything is done. It's annoying when the color usually was left to the statusbar's color and when ssh connection to irssi dropped, the terminal's background changed to blue.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2064 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/term-terminfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index e110085f..b92ec123 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -389,6 +389,7 @@ void term_refresh(TERM_WINDOW *window) terminfo_set_cursor_visible(TRUE); curs_visible = TRUE; } + term_set_color(window, ATTR_RESET); fflush(window != NULL ? window->term->out : current_term->out); }