summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-set-buffer.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2016-10-14 22:14:23 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2016-10-14 22:14:23 +0000
commit7a01d0fd7a51152adf7bf9c41b69f4e1810846a7 (patch)
tree49d01266139f4b1abc026283b682ea1d04c54269 /usr.bin/tmux/cmd-set-buffer.c
parent7208db85bf9d1098e9186149a922dfec263938e1 (diff)
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.c6
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
};