Bugfix status line at top and floating panes.

This commit is contained in:
Michael Grant
2025-12-09 00:14:06 +00:00
parent 2ac78bccb5
commit 2591df66cc
3 changed files with 13 additions and 10 deletions

3
tty.c
View File

@@ -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);