summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-18 22:09:02 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-18 22:09:02 +0000
commit0be0cc8198d70f98ffc205d80cb585ce37f42b23 (patch)
treeb0243da25be9cbe93ceed83b183b02a9e7159f11 /src/fe-text
parent5ee08ed3c991d7295c95d9e2fdb0fd5f557c3a4d (diff)
downloadirssi-0be0cc8198d70f98ffc205d80cb585ce37f42b23.zip
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
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/term-terminfo.c1
1 files changed, 1 insertions, 0 deletions
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);
}