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-buffer.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-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-set-buffer.c b/usr.bin/tmux/cmd-set-buffer.c index 0f5d4e995b6..9c825042034 100644 --- a/usr.bin/tmux/cmd-set-buffer.c +++ b/usr.bin/tmux/cmd-set-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-buffer.c,v 1.19 2014/10/08 17:35:58 nicm Exp $ */ +/* $OpenBSD: cmd-set-buffer.c,v 1.20 2014/10/20 22:29:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -34,7 +34,6 @@ const struct cmd_entry cmd_set_buffer_entry = { "ab:n:", 0, 1, "[-a] " CMD_BUFFER_USAGE " [-n new-buffer-name] data", 0, - NULL, cmd_set_buffer_exec }; |