diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-06-23 18:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-06-23 18:01:11 +0100 |
commit | 6995497e5b66e090f25e85fbb207f033f7790199 (patch) | |
tree | 612589ffe3561d03b04f34940dccfc2778c4c15f /cmd-set-option.c | |
parent | a61200776de8218306730e2325cd29d013861e4c (diff) | |
parent | 95ed7d48c84198da0ec4b1b9b5de9358a47da753 (diff) | |
download | rtmux-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.c | 6 |
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(); |