render: damage the *view* too, when resizing

This commit is contained in:
Daniel Eklöf 2019-07-10 14:34:43 +02:00
parent 4cef8ed2cc
commit e01060caf9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -465,8 +465,8 @@ render_resize(struct terminal *term, int width, int height)
min(term->cursor.row, term->rows - 1),
min(term->cursor.col, term->cols - 1));
/* TODO: damage view */
term_damage_all(term);
term_damage_view(term);
if (term->frame_callback == NULL)
grid_render(term);