summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-14 20:02:38 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-14 20:02:38 +0000
commitd58bccfc636fe0778fa1abefdb0a171165f27784 (patch)
tree6b7ed94338b6ae17d1cab470002003b6e2977039
parent0b32fa81b6eb1cec4acb3ac78ffb227e6c78e0fb (diff)
parent9bd4b96766cbbdc8f8e166baf726d69e8a6024ff (diff)
Merge branch 'obsd-master'
-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);