summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-switch-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-12 18:28:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-12 18:28:48 +0000
commit7b2dccf77be63086a3f7f285f03950c44107cc6c (patch)
treef5d5bd79a16646bf3e6cdb3f7e3df3d4a685643b /usr.bin/tmux/cmd-switch-client.c
parentc767ef4e5f352d6fd826a08ecf0a8bc4bcb71d9f (diff)
Return after changing key table.
Diffstat (limited to 'usr.bin/tmux/cmd-switch-client.c')
-rw-r--r--usr.bin/tmux/cmd-switch-client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-switch-client.c b/usr.bin/tmux/cmd-switch-client.c
index 02bed450cf1..39533a54b2a 100644
--- a/usr.bin/tmux/cmd-switch-client.c
+++ b/usr.bin/tmux/cmd-switch-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-switch-client.c,v 1.35 2015/12/11 12:39:47 nicm Exp $ */
+/* $OpenBSD: cmd-switch-client.c,v 1.36 2015/12/12 18:28:47 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -65,6 +65,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmd_q *cmdq)
table->references++;
key_bindings_unref_table(c->keytable);
c->keytable = table;
+ return (CMD_RETURN_NORMAL);
}
tflag = args_get(args, 't');