TUI: reset background color before scroll #11909

fixes #11893
This commit is contained in:
Jakub Łuczyński 2020-02-24 02:59:37 +01:00 committed by GitHub
parent c036e24f39
commit 96059d72e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1099,6 +1099,7 @@ static void tui_grid_scroll(UI *ui, Integer g, Integer startrow, Integer endrow,
set_scroll_region(ui, top, bot, left, right);
}
cursor_goto(ui, top, left);
update_attrs(ui, 0);
if (rows > 0) {
if (rows == 1) {