Fix target line for fast path in tty_draw_pane.

This commit is contained in:
Nicholas Marriott 2018-08-29 20:52:27 +01:00
parent 7637518b07
commit 479cac4896

2
tty.c
View File

@ -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))