1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

fix redraw

This commit is contained in:
ailin-nemui 2018-01-06 01:05:35 +01:00
parent 63d8e884dd
commit ded4e4d98d
2 changed files with 4 additions and 1 deletions

View File

@ -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);
}
}
}

View File

@ -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();
}
}
}