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:
nicm
2016-09-02 20:57:20 +00:00
parent 537964b92d
commit 2627ab322e
5 changed files with 23 additions and 7 deletions

1
tmux.h
View File

@ -691,6 +691,7 @@ struct grid {
u_int sx;
u_int sy;
u_int hscrolled;
u_int hsize;
u_int hlimit;