mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Add key-table option to set the default key table for a session, allows
different key bindings for different sessions and a few other things.
This commit is contained in:
parent
6a50cf89b4
commit
5ed17e84fa
10 changed files with 52 additions and 10 deletions
|
|
@ -124,6 +124,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
|
|||
if (c->session != NULL && c->session != s)
|
||||
c->last_session = c->session;
|
||||
c->session = s;
|
||||
server_client_set_key_table(c, NULL);
|
||||
status_timer_start(c);
|
||||
session_update_activity(s, NULL);
|
||||
gettimeofday(&s->last_attached_time, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue