mirror of
https://github.com/tmux/tmux.git
synced 2025-09-05 08:07:03 +00:00
Clamping to area needs to use the offset without the status line, since that is
where the window offsets are based.
This commit is contained in:
@ -136,8 +136,9 @@ screen_write_set_client_cb(struct tty_ctx *ttyctx, struct client *c)
|
||||
ttyctx->bigger = tty_window_offset(&c->tty, &ttyctx->wox, &ttyctx->woy,
|
||||
&ttyctx->wsx, &ttyctx->wsy);
|
||||
|
||||
ttyctx->xoff = wp->xoff;
|
||||
ttyctx->yoff = wp->yoff;
|
||||
ttyctx->xoff = ttyctx->rxoff = wp->xoff;
|
||||
ttyctx->yoff = ttyctx->ryoff = wp->yoff;
|
||||
|
||||
if (status_at_line(c) == 0)
|
||||
ttyctx->yoff += status_line_size(c);
|
||||
|
||||
|
Reference in New Issue
Block a user