summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-03 14:50:43 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-03 14:50:43 +0000
commitd4d72e5583827c86d047de576917fd30b7566275 (patch)
tree7bc84b8fa5d709568cc5f61c3e7e843662b9736d
parent25b04419d4b8b0bb907a0d784f5683570035bc15 (diff)
downloadirssi-d4d72e5583827c86d047de576917fd30b7566275.zip
Don't clear the window before redrawing, it's faster to do it at the same
time window is being redrawn. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1965 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-text/textbuffer-view.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c
index 6f144168..bc557129 100644
--- a/src/fe-text/textbuffer-view.c
+++ b/src/fe-text/textbuffer-view.c
@@ -1201,8 +1201,7 @@ void textbuffer_view_redraw(TEXT_BUFFER_VIEW_REC *view)
if (view->window != NULL) {
view->dirty = FALSE;
- term_window_clear(view->window);
- view_draw_top(view, view->height, FALSE);
+ view_draw_top(view, view->height, TRUE);
term_refresh(view->window);
}
}