summaryrefslogtreecommitdiff
path: root/src/fe-text
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-13 13:01:09 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-13 13:01:09 +0000
commit7481fe606f969ee9cd465276466a3d949cb8e6f2 (patch)
tree77c46801d3b2d61e582ad6c55d492581bf783310 /src/fe-text
parente66ec6cf8bede7a87b3dc4a8a9cf0cc0fab3d039 (diff)
downloadirssi-7481fe606f969ee9cd465276466a3d949cb8e6f2.zip
Reset the terminal color before scrolling, so the scrolled area's background doesn't get non-black..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2000 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text')
-rw-r--r--src/fe-text/textbuffer-view.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c
index 35522ad5..41f949e4 100644
--- a/src/fe-text/textbuffer-view.c
+++ b/src/fe-text/textbuffer-view.c
@@ -716,6 +716,7 @@ static int view_scroll(TEXT_BUFFER_VIEW_REC *view, LINE_REC **lines,
whole view */
textbuffer_view_redraw(view);
} else {
+ term_set_color(view->window, ATTR_RESET);
term_window_scroll(view->window, realcount);
if (draw_nonclean) {