diff --git a/grid-view.c b/grid-view.c index 6c7686d4..4afb9d8c 100644 --- a/grid-view.c +++ b/grid-view.c @@ -94,8 +94,10 @@ grid_view_clear_history(struct grid *gd) return; /* Scroll the lines into the history. */ - for (yy = 0; yy < last; yy++) + for (yy = 0; yy < last; yy++) { + grid_collect_history(gd); grid_scroll_history(gd); + } } /* Clear area. */