mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Turn on margins, with a couple of fixes (only limit to the pane for line
feeds, and do not move cursor to end for full width panes).
This commit is contained in:
@ -1003,8 +1003,8 @@ server_client_reset_state(struct client *c)
|
||||
if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
|
||||
return;
|
||||
|
||||
tty_region(&c->tty, 0, c->tty.sy - 1);
|
||||
tty_margin(&c->tty, 0, c->tty.sx - 1);
|
||||
tty_region_off(&c->tty);
|
||||
tty_margin_off(&c->tty);
|
||||
|
||||
status = options_get_number(oo, "status");
|
||||
if (!window_pane_visible(wp) || wp->yoff + s->cy >= c->tty.sy - status)
|
||||
|
Reference in New Issue
Block a user