summaryrefslogtreecommitdiffstats
path: root/cmd-new-session.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-12 18:32:24 +0000
committernicm <nicm>2015-12-12 18:32:24 +0000
commit5ed17e84faed0a7655ec1eb3de291b60839dcb12 (patch)
tree6d6a92930d40c5ca616505ebba40fc5ac4b4d57b /cmd-new-session.c
parent6a50cf89b40d472cd1f8b439913ca4caddbfd001 (diff)
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.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r--cmd-new-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index aee69e12..341399be 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -262,6 +262,7 @@ cmd_new_session_exec(struct cmd *self, struct cmd_q *cmdq)
} else if (c->session != NULL)
c->last_session = c->session;
c->session = s;
+ server_client_set_key_table(c, NULL);
status_timer_start(c);
notify_attached_session_changed(c);
session_update_activity(s, NULL);