mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Remember the number of lines scrolled into the history (versus cleared
into the history) and when resizing only use scrolled lines and not cleared lines (which are probably not intended to reappear). From Chaoren Lin.
This commit is contained in:
@ -67,6 +67,7 @@ grid_view_clear_history(struct grid *gd)
|
||||
grid_collect_history(gd);
|
||||
grid_scroll_history(gd);
|
||||
}
|
||||
gd->hscrolled = 0;
|
||||
}
|
||||
|
||||
/* Clear area. */
|
||||
|
Reference in New Issue
Block a user