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 facf5814..ac24a7f2 100644
--- a/tty.c
+++ b/tty.c
@@ -1147,7 +1147,7 @@ tty_draw_pane(struct tty *tty, const struct tty_ctx *ctx, u_int py)
log_debug("%s: %s %u %d", __func__, tty->client->name, py, ctx->bigger);
if (!ctx->bigger) {
- tty_draw_line(tty, wp, s, 0, py, nx, ctx->xoff, ctx->yoff);
+ tty_draw_line(tty, wp, s, 0, py, nx, ctx->xoff, ctx->yoff + py);
return;
}
if (tty_clamp_line(tty, ctx, 0, py, nx, &i, &x, &rx, &ry))