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.
This commit is contained in:
Daniel Eklöf 2022-09-06 17:37:19 +02:00
parent 2d1ded183a
commit c311229b9e
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
csi.c
View file

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