diff options
author | 2016-10-14 22:14:22 +0000 | |
---|---|---|
committer | 2016-10-14 22:14:22 +0000 | |
commit | 7a61a8dd0e21c37e5cbe8b3ee029ee788919f578 (patch) | |
tree | db4c068a2c34734e900a223adcb4c75ecef7891a /usr.bin/tmux/cmd-set-buffer.c | |
parent | Don't make assumptions about line wrap on !xenl terminals, means that (diff) | |
download | wireguard-openbsd-7a61a8dd0e21c37e5cbe8b3ee029ee788919f578.tar.xz wireguard-openbsd-7a61a8dd0e21c37e5cbe8b3ee029ee788919f578.zip |
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
Diffstat (limited to 'usr.bin/tmux/cmd-set-buffer.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-set-buffer.c b/usr.bin/tmux/cmd-set-buffer.c index d25a02bcaa0..5c7c713606c 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.26 2016/10/10 21:51:39 nicm Exp $ */ +/* $OpenBSD: cmd-set-buffer.c,v 1.27 2016/10/14 22:14:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -36,7 +36,7 @@ const struct cmd_entry cmd_set_buffer_entry = { .args = { "ab:n:", 0, 1 }, .usage = "[-a] " CMD_BUFFER_USAGE " [-n new-buffer-name] data", - .flags = 0, + .flags = CMD_AFTERHOOK, .exec = cmd_set_buffer_exec }; @@ -47,7 +47,7 @@ const struct cmd_entry cmd_delete_buffer_entry = { .args = { "b:", 0, 0 }, .usage = CMD_BUFFER_USAGE, - .flags = 0, + .flags = CMD_AFTERHOOK, .exec = cmd_set_buffer_exec }; |