mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-02 07:15:31 -04:00
csi: erase alt screen when enabling it
This commit is contained in:
parent
24395cf4cd
commit
ee476a7e5a
1 changed files with 1 additions and 1 deletions
2
csi.c
2
csi.c
|
|
@ -586,7 +586,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
if (term->grid != &term->alt) {
|
if (term->grid != &term->alt) {
|
||||||
term->grid = &term->alt;
|
term->grid = &term->alt;
|
||||||
term->saved_cursor = term->cursor;
|
term->saved_cursor = term->cursor;
|
||||||
term_damage_all(term);
|
term_erase(term, 0, term->rows * term->cols);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue