aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-09-06 15:37:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-09-06 15:37:19 +0000
commitc311229b9e4374d81d72e7c20ba51075267e2443 (patch)
treeb66328c89cfb2d147645c91335d63d4975d4f86e
parentconfig: change default ‘pad’ to 0x0 (i.e. no padding) (diff)
csi: damage *viewport* when exiting the alt screen
This fixes a redraw issue when the normal screen were somewhere in the scrollback history when exiting the alt screen.
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csi.c b/csi.c
index 659839f0..4a023554 100644
--- a/csi.c
+++ b/csi.c
@@ -486,7 +486,7 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
}
tll_free(term->alt.scroll_damage);
- term_damage_all(term);
+ term_damage_view(term);
}
term_update_ascii_printer(term);
break;