diff options
author | 2014-05-14 06:45:35 +0000 | |
---|---|---|
committer | 2014-05-14 06:45:35 +0000 | |
commit | 787b890562a2542f8905ce81538a517c0cda5497 (patch) | |
tree | e5cd811e355383388798bbd65bf104e47b74d8fc /usr.bin/tmux/cmd-unbind-key.c | |
parent | Simplify copy lines, from Keith Amling. (diff) | |
download | wireguard-openbsd-787b890562a2542f8905ce81538a517c0cda5497.tar.xz wireguard-openbsd-787b890562a2542f8905ce81538a517c0cda5497.zip |
Change key-table to mode-table to allow for some future work. From Keith
Amling.
Diffstat (limited to 'usr.bin/tmux/cmd-unbind-key.c')
-rw-r--r-- | usr.bin/tmux/cmd-unbind-key.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/tmux/cmd-unbind-key.c b/usr.bin/tmux/cmd-unbind-key.c index a54ef6f2957..e1003c0ca3b 100644 --- a/usr.bin/tmux/cmd-unbind-key.c +++ b/usr.bin/tmux/cmd-unbind-key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-unbind-key.c,v 1.18 2013/10/11 08:06:03 nicm Exp $ */ +/* $OpenBSD: cmd-unbind-key.c,v 1.19 2014/05/14 06:45:35 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -27,12 +27,12 @@ */ enum cmd_retval cmd_unbind_key_exec(struct cmd *, struct cmd_q *); -enum cmd_retval cmd_unbind_key_table(struct cmd *, struct cmd_q *, int); +enum cmd_retval cmd_unbind_key_mode_table(struct cmd *, struct cmd_q *, int); const struct cmd_entry cmd_unbind_key_entry = { "unbind-key", "unbind", "acnt:", 0, 1, - "[-acn] [-t key-table] key", + "[-acn] [-t mode-table] key", 0, NULL, cmd_unbind_key_exec @@ -64,7 +64,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) } if (args_has(args, 't')) - return (cmd_unbind_key_table(self, cmdq, key)); + return (cmd_unbind_key_mode_table(self, cmdq, key)); if (key == KEYC_NONE) { while (!RB_EMPTY(&key_bindings)) { @@ -81,7 +81,7 @@ cmd_unbind_key_exec(struct cmd *self, struct cmd_q *cmdq) } enum cmd_retval -cmd_unbind_key_table(struct cmd *self, struct cmd_q *cmdq, int key) +cmd_unbind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, int key) { struct args *args = self->args; const char *tablename; |