diff options
author | nicm <nicm> | 2017-02-06 15:00:41 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-06 15:00:41 +0000 |
commit | e67548dc36fdb4454aded1c95bd35e2443191f94 (patch) | |
tree | 2e7bb998b44f8feb59b06e9b2fbd9be2b811de5b /cmd-attach-session.c | |
parent | d150d9b384612c1ee2c52009b996a4466e111049 (diff) | |
download | rtmux-e67548dc36fdb4454aded1c95bd35e2443191f94.tar.gz rtmux-e67548dc36fdb4454aded1c95bd35e2443191f94.tar.bz2 rtmux-e67548dc36fdb4454aded1c95bd35e2443191f94.zip |
Cancel key table when switching session, unless the key is going to
repeat. Reported by Amos Bird.
Diffstat (limited to 'cmd-attach-session.c')
-rw-r--r-- | cmd-attach-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-attach-session.c b/cmd-attach-session.c index d29c4dd1..e9c23df3 100644 --- a/cmd-attach-session.c +++ b/cmd-attach-session.c @@ -98,6 +98,8 @@ cmd_attach_session(struct cmdq_item *item, int dflag, int rflag, environ_update(s->options, c->environ, s->environ); c->session = s; + if (!item->repeat) + server_client_set_key_table(c, NULL); status_timer_start(c); notify_client("client-session-changed", c); session_update_activity(s, NULL); |