diff options
author | nicm <nicm> | 2017-02-08 22:42:07 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-08 22:42:07 +0000 |
commit | 2f854969ff8dfea7b03b6534318a64f51e9c65e7 (patch) | |
tree | edc17238408d83165f3bedc4034c0101528dcc43 /tty.c | |
parent | 05802a6fe309e3b4559286ca5ce3c51f7367d661 (diff) | |
download | rtmux-2f854969ff8dfea7b03b6534318a64f51e9c65e7.tar.gz rtmux-2f854969ff8dfea7b03b6534318a64f51e9c65e7.tar.bz2 rtmux-2f854969ff8dfea7b03b6534318a64f51e9c65e7.zip |
Do not adjust region lower by pane offset when scrolling up, it is
already an absolute position.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |