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

View File

@ -67,6 +67,7 @@ grid_view_clear_history(struct grid *gd)
grid_collect_history(gd);
grid_scroll_history(gd);
}
gd->hscrolled = 0;
}
/* Clear area. */