mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: damage the *view* too, when resizing
This commit is contained in:
parent
4cef8ed2cc
commit
e01060caf9
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue