diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-29 20:52:27 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-29 20:52:27 +0100 |
commit | 479cac4896121b45778bb6ea726173f0fbcdc663 (patch) | |
tree | 4ab814b5ef1d33797e8685bc4a8f8d435b073c50 | |
parent | 7637518b072b971c88c21b7a4b8bbc54c8b9925b (diff) | |
download | rtmux-479cac4896121b45778bb6ea726173f0fbcdc663.tar.gz rtmux-479cac4896121b45778bb6ea726173f0fbcdc663.tar.bz2 rtmux-479cac4896121b45778bb6ea726173f0fbcdc663.zip |
Fix target line for fast path in tty_draw_pane.
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |