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.
This commit is contained in:
Daniel Eklöf 2021-03-16 13:07:09 +01:00
parent b601307fae
commit d271119032
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
csi.c
View file

@ -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: