summaryrefslogtreecommitdiff
path: root/src/ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ansi.c')
-rw-r--r--src/ansi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ansi.c b/src/ansi.c
index cd4403b..8cc9249 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -2906,6 +2906,8 @@ struct mline *ml;
if (++wp->w_histidx >= wp->w_histheight)
wp->w_histidx = 0;
+ if (wp->w_scrollback_height < wp->w_histheight)
+ ++wp->w_scrollback_height;
}
#endif