mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: manually erase alt screen when switching to it
This commit is contained in:
parent
c5fdc13ea4
commit
488ad5dc77
1 changed files with 3 additions and 1 deletions
4
csi.c
4
csi.c
|
|
@ -621,7 +621,9 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
|
||||
tll_free(term->alt.damage);
|
||||
tll_free(term->alt.scroll_damage);
|
||||
term_erase(term, 0, term->rows * term->cols);
|
||||
|
||||
grid_memset(term->grid, 0, 0, term->rows * term->cols);
|
||||
term_damage_erase(term, 0, term->rows * term->cols);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue