mirror of
https://github.com/tmux/tmux.git
synced 2025-01-08 08:58:47 +00:00
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:
parent
ff8882a24f
commit
2546216019
2
screen.c
2
screen.c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user