mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-27 13:15:17 +02:00
Support all four of the xterm mouse modes. Based on a diff from hsim at
gmx.li.
This commit is contained in:
@@ -450,7 +450,7 @@ server_client_reset_state(struct client *c)
|
||||
mode = s->mode;
|
||||
if (TAILQ_NEXT(TAILQ_FIRST(&w->panes), entry) != NULL &&
|
||||
options_get_number(oo, "mouse-select-pane"))
|
||||
mode |= MODE_MOUSE;
|
||||
mode |= MODE_MOUSE_STANDARD;
|
||||
tty_update_mode(&c->tty, mode);
|
||||
tty_reset(&c->tty);
|
||||
}
|
||||
|
Reference in New Issue
Block a user