mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
csi: up to application to restore scroll region on alt switch?
This commit is contained in:
parent
dfaa5f5640
commit
0fef48c1fd
1 changed files with 0 additions and 5 deletions
5
csi.c
5
csi.c
|
|
@ -645,13 +645,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
|
||||||
term->grid = &term->normal;
|
term->grid = &term->normal;
|
||||||
|
|
||||||
term->cursor = term->saved_cursor;
|
term->cursor = term->saved_cursor;
|
||||||
|
|
||||||
term_cursor_to(term, term->cursor.row, term->cursor.col);
|
term_cursor_to(term, term->cursor.row, term->cursor.col);
|
||||||
|
|
||||||
/* Should these be restored from saved values? */
|
|
||||||
term->scroll_region.start = 0;
|
|
||||||
term->scroll_region.end = term->rows;
|
|
||||||
|
|
||||||
tll_free(term->alt.damage);
|
tll_free(term->alt.damage);
|
||||||
tll_free(term->alt.scroll_damage);
|
tll_free(term->alt.scroll_damage);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue