mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
csi: erase alt screen before activating it
This commit is contained in:
parent
f63df93e15
commit
888de785b7
1 changed files with 4 additions and 2 deletions
6
csi.c
6
csi.c
|
|
@ -702,8 +702,10 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
|||
tll_free(term->alt.scroll_damage);
|
||||
selection_cancel(term);
|
||||
|
||||
//grid_memclear(term->grid, 0, term->rows * term->cols);
|
||||
//term_damage_erase(term, 0, term->rows * term->cols);
|
||||
term_erase(
|
||||
term,
|
||||
&(struct coord){0, 0},
|
||||
&(struct coord){term->cols - 1, term->rows - 1});
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue