mirror of
https://github.com/tmux/tmux.git
synced 2024-11-05 10:28:48 +00:00
Fix target line for fast path in tty_draw_pane.
This commit is contained in:
parent
7637518b07
commit
479cac4896
2
tty.c
2
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);
|
log_debug("%s: %s %u %d", __func__, tty->client->name, py, ctx->bigger);
|
||||||
|
|
||||||
if (!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;
|
return;
|
||||||
}
|
}
|
||||||
if (tty_clamp_line(tty, ctx, 0, py, nx, &i, &x, &rx, &ry))
|
if (tty_clamp_line(tty, ctx, 0, py, nx, &i, &x, &rx, &ry))
|
||||||
|
Loading…
Reference in New Issue
Block a user