When exiting alternate screen, there is no need to reflow when going

back to old size since the contents will be overwritten. GitHub issue
3510.
This commit is contained in:
nicm 2023-06-26 08:14:19 +00:00
parent ff8882a24f
commit 2546216019

View File

@ -626,7 +626,7 @@ screen_alternate_off(struct screen *s, struct grid_cell *gc, int cursor)
* before copying back.
*/
if (s->saved_grid != NULL)
screen_resize(s, s->saved_grid->sx, s->saved_grid->sy, 1);
screen_resize(s, s->saved_grid->sx, s->saved_grid->sy, 0);
/*
* Restore the cursor position and cell. This happens even if not