aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-02-09 00:01:12 +0000
committerThomas Adam <thomas@xteddy.org>2017-02-09 00:01:12 +0000
commitbe033b1ed0568c6e79e6d0079b940e06719dc9b1 (patch)
tree7168beef2870804d6301eea9f1e35e71b4650ccf
parent130b77edc737fcd113964fd77123285d78dfe3f9 (diff)
parent2f854969ff8dfea7b03b6534318a64f51e9c65e7 (diff)
downloadrtmux-be033b1ed0568c6e79e6d0079b940e06719dc9b1.tar.gz
rtmux-be033b1ed0568c6e79e6d0079b940e06719dc9b1.tar.bz2
rtmux-be033b1ed0568c6e79e6d0079b940e06719dc9b1.zip
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 40bd7a40..a9931a6b 100644
--- a/tty.c
+++ b/tty.c
@@ -1040,7 +1040,7 @@ tty_cmd_scrollup(struct tty *tty, const struct tty_ctx *ctx)
tty_margin_pane(tty, ctx);
if (ctx->num == 1 || !tty_term_has(tty->term, TTYC_INDN)) {
- tty_cursor(tty, tty->rright, ctx->yoff + tty->rlower);
+ tty_cursor(tty, tty->rright, tty->rlower);
for (i = 0; i < ctx->num; i++)
tty_putc(tty, '\n');
} else