mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
fix redraw
This commit is contained in:
parent
63d8e884dd
commit
ded4e4d98d
2 changed files with 4 additions and 1 deletions
|
|
@ -1214,6 +1214,8 @@ void mainwindows_redraw_dirty(void)
|
|||
if (rec->dirty) {
|
||||
rec->dirty = FALSE;
|
||||
gui_window_redraw(rec->active);
|
||||
} else if (WINDOW_GUI(rec->active)->view->dirty) {
|
||||
gui_window_redraw(rec->active);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -854,7 +854,8 @@ static int view_scroll(TEXT_BUFFER_VIEW_REC *view, LINE_REC **lines,
|
|||
/* do not bother with vt400 scroll
|
||||
rectangles for now, redraw the
|
||||
whole view */
|
||||
textbuffer_view_redraw(view);
|
||||
view->dirty = TRUE;
|
||||
irssi_set_dirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue