From 0fef48c1fd7f2751ead2b1c619d56ea7fa3c72b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 3 Jul 2019 08:37:16 +0200 Subject: [PATCH] csi: up to application to restore scroll region on alt switch? --- csi.c | 5 ----- 1 file changed, 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);