render: clear scroll damage list when we force-refresh the entire window

This commit is contained in:
Daniel Eklöf 2020-03-24 17:45:16 +01:00
parent b42709525c
commit 9a3e97afa7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -1269,6 +1269,7 @@ grid_render(struct terminal *term)
}
else {
tll_free(term->grid->scroll_damage);
render_margin(term, buf, 0, term->rows, true, true);
term_damage_view(term);
}