mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05:00
clrtoeol() wasn't called always when drawing buffer, so some garbage could
have been left to screen. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1936 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
801e593718
commit
92ec922637
@ -396,6 +396,11 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
||||
text++;
|
||||
}
|
||||
|
||||
if (need_clrtoeol) {
|
||||
term_set_color(view->window, ATTR_RESET);
|
||||
term_clrtoeol(view->window);
|
||||
}
|
||||
|
||||
return drawcount;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user