diff options
author | 2014-10-20 22:29:25 +0000 | |
---|---|---|
committer | 2014-10-20 22:29:25 +0000 | |
commit | f0dcb22a301071b1ca4e920844353f5b9c286966 (patch) | |
tree | a10614df0c36dbf41dbf749899667701cb7b3a27 /usr.bin/tmux/cmd-set-option.c | |
parent | fix a regression that i caused in rev. 1.26: *do* report the size of (diff) | |
download | wireguard-openbsd-f0dcb22a301071b1ca4e920844353f5b9c286966.tar.xz wireguard-openbsd-f0dcb22a301071b1ca4e920844353f5b9c286966.zip |
Instead of setting up the default keys by building the key struct
directly with a helper function in the cmd_entry, include a table of
bind-key commands and pass them through the command parser and a
temporary cmd_q.
As well as being smaller, this will allow default bindings to be command
sequences which will probably be needed soon.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-option.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c index 796abb67587..6c48a310508 100644 --- a/usr.bin/tmux/cmd-set-option.c +++ b/usr.bin/tmux/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.70 2014/09/01 21:50:18 nicm Exp $ */ +/* $OpenBSD: cmd-set-option.c,v 1.71 2014/10/20 22:29:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -69,7 +69,6 @@ const struct cmd_entry cmd_set_option_entry = { "agoqst:uw", 1, 2, "[-agosquw] [-t target-session|target-window] option [value]", 0, - NULL, cmd_set_option_exec }; @@ -78,7 +77,6 @@ const struct cmd_entry cmd_set_window_option_entry = { "agoqt:u", 1, 2, "[-agoqu] " CMD_TARGET_WINDOW_USAGE " option [value]", 0, - NULL, cmd_set_option_exec }; |