mirror of
https://github.com/tmux/tmux.git
synced 2026-01-12 01:00:22 +00:00
Bugfix status line at top and floating panes.
This commit is contained in:
3
tty.c
3
tty.c
@@ -2096,6 +2096,9 @@ tty_cmd_scrollup(struct tty *tty, const struct tty_ctx *ctx)
|
||||
else
|
||||
rlower = ctx->wsy - 1;
|
||||
|
||||
if (tty->client->session->statusat == 0)
|
||||
rlower += tty->client->session->statuslines;
|
||||
|
||||
if (ctx->num == 1 || !tty_term_has(tty->term, TTYC_INDN)) {
|
||||
if (!tty_use_margin(tty))
|
||||
tty_cursor(tty, 0, rlower);
|
||||
|
||||
Reference in New Issue
Block a user