aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-03 06:37:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-03 06:37:16 +0000
commit0fef48c1fd7f2751ead2b1c619d56ea7fa3c72b1 (patch)
tree3083608119d1a859f0098faaf6e36ac88ba43a1c /csi.c
parentmain: make sure cursor is inside the new row/col limits on resize (diff)
csi: up to application to restore scroll region on alt switch?
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/csi.c b/csi.c
index 931ff36a..dd292b79 100644
--- a/csi.c
+++ b/csi.c
@@ -645,13 +645,8 @@ csi_dispatch(struct terminal *term, uint8_t final)
term->grid = &term->normal;
term->cursor = term->saved_cursor;
-
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.scroll_damage);