summaryrefslogtreecommitdiffstats
path: root/screen-redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen-redraw.c')
-rw-r--r--screen-redraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c
index 70f94a28..e63f8725 100644
--- a/screen-redraw.c
+++ b/screen-redraw.c
@@ -166,7 +166,7 @@ screen_redraw_screen(struct client *c, int status_only)
/* Draw the pane. */
for (i = 0; i < wp->sy; i++) {
- if (status_only && i != tty->sy - 1)
+ if (status_only && wp->yoff + i != tty->sy - 1)
continue;
tty_draw_line(tty, wp->screen, i, wp->xoff, wp->yoff);
}