aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-06-23 18:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2017-06-23 18:01:11 +0100
commit6995497e5b66e090f25e85fbb207f033f7790199 (patch)
tree612589ffe3561d03b04f34940dccfc2778c4c15f /cmd-set-option.c
parenta61200776de8218306730e2325cd29d013861e4c (diff)
parent95ed7d48c84198da0ec4b1b9b5de9358a47da753 (diff)
downloadrtmux-6995497e5b66e090f25e85fbb207f033f7790199.tar.gz
rtmux-6995497e5b66e090f25e85fbb207f033f7790199.tar.bz2
rtmux-6995497e5b66e090f25e85fbb207f033f7790199.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index d8539ee7..02504d5c 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -240,6 +240,12 @@ cmd_set_option_exec(struct cmd *self, struct cmdq_item *item)
TAILQ_FOREACH(loop, &clients, entry)
server_client_set_key_table(loop, NULL);
}
+ if (strcmp(name, "user-keys") == 0) {
+ TAILQ_FOREACH(loop, &clients, entry) {
+ if (loop->tty.flags & TTY_OPENED)
+ tty_keys_build(&loop->tty);
+ }
+ }
if (strcmp(name, "status") == 0 ||
strcmp(name, "status-interval") == 0)
status_timer_start_all();