mirror of
https://github.com/tmux/tmux.git
synced 2025-09-07 03:48:20 +00:00
Initial attempt to make use of left and right margins if the terminal
supports them (that is, if it advertises itself as a VT420 - probably just xterm). These are the vertical equivalent of the scroll region and allow much faster scrolling of panes that do not take up the full width of the terminal.
This commit is contained in:
@@ -1004,6 +1004,7 @@ server_client_reset_state(struct client *c)
|
||||
return;
|
||||
|
||||
tty_region(&c->tty, 0, c->tty.sy - 1);
|
||||
tty_margin(&c->tty, 0, c->tty.sx - 1);
|
||||
|
||||
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