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-run-shell.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-run-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-run-shell.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-run-shell.c b/usr.bin/tmux/cmd-run-shell.c index 2a291e60294..ac91d1c6d78 100644 --- a/usr.bin/tmux/cmd-run-shell.c +++ b/usr.bin/tmux/cmd-run-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-run-shell.c,v 1.25 2014/04/17 07:55:43 nicm Exp $ */ +/* $OpenBSD: cmd-run-shell.c,v 1.26 2014/10/20 22:29:25 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -40,7 +40,6 @@ const struct cmd_entry cmd_run_shell_entry = { "bt:", 1, 1, "[-b] " CMD_TARGET_PANE_USAGE " shell-command", 0, - NULL, cmd_run_shell_exec }; |