aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 5db86580..855f8e6a 100644
--- a/tty.c
+++ b/tty.c
@@ -1672,7 +1672,7 @@ tty_cmd_clearstartofscreen(struct tty *tty, const struct tty_ctx *ctx)
px = 0;
nx = screen_size_x(wp->screen);
py = 0;
- ny = ctx->ocy - 1;
+ ny = ctx->ocy;
tty_clear_pane_area(tty, ctx, py, ny, px, nx, ctx->bg);