aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-16 12:07:09 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-16 12:07:09 +0000
commitd2711190326e19396dcf6f4fa21e41e8059c9ca2 (patch)
tree72683a72c7f442c2244d64254d7c40b15575dbb5 /csi.c
parentterm: update_ascii_printer(): log when we (actually) switch printer (diff)
csi: update ASCII printer function pointer when switching to/from alt screen
This is necessary since switching screen may change how many sixels we have in the scrollback.
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/csi.c b/csi.c
index 4f0814bf..ec83f81e 100644
--- a/csi.c
+++ b/csi.c
@@ -546,6 +546,7 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
tll_free(term->alt.scroll_damage);
term_damage_all(term);
}
+ term_update_ascii_printer(term);
break;
case 1070: