From d2711190326e19396dcf6f4fa21e41e8059c9ca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 16 Mar 2021 13:07:09 +0100 Subject: [PATCH] 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. --- csi.c | 1 + 1 file changed, 1 insertion(+) 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: