mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04: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);
|
tll_free(term->alt.scroll_damage);
|
||||||
selection_cancel(term);
|
selection_cancel(term);
|
||||||
|
|
||||||
//grid_memclear(term->grid, 0, term->rows * term->cols);
|
term_erase(
|
||||||
//term_damage_erase(term, 0, term->rows * term->cols);
|
term,
|
||||||
|
&(struct coord){0, 0},
|
||||||
|
&(struct coord){term->cols - 1, term->rows - 1});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue