mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
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:
parent
b601307fae
commit
d271119032
1 changed files with 1 additions and 0 deletions
1
csi.c
1
csi.c
|
|
@ -546,6 +546,7 @@ decset_decrst(struct terminal *term, unsigned param, bool enable)
|
||||||
tll_free(term->alt.scroll_damage);
|
tll_free(term->alt.scroll_damage);
|
||||||
term_damage_all(term);
|
term_damage_all(term);
|
||||||
}
|
}
|
||||||
|
term_update_ascii_printer(term);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1070:
|
case 1070:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue