summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-save-buffer.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-14 22:14:22 +0000
committernicm <nicm@openbsd.org>2016-10-14 22:14:22 +0000
commit7a61a8dd0e21c37e5cbe8b3ee029ee788919f578 (patch)
treedb4c068a2c34734e900a223adcb4c75ecef7891a /usr.bin/tmux/cmd-save-buffer.c
parentDon't make assumptions about line wrap on !xenl terminals, means that (diff)
downloadwireguard-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-save-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-save-buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-save-buffer.c b/usr.bin/tmux/cmd-save-buffer.c
index e323914c502..9742cfc2d4c 100644
--- a/usr.bin/tmux/cmd-save-buffer.c
+++ b/usr.bin/tmux/cmd-save-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-save-buffer.c,v 1.38 2016/10/10 21:51:39 nicm Exp $ */
+/* $OpenBSD: cmd-save-buffer.c,v 1.39 2016/10/14 22:14:22 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -41,7 +41,7 @@ const struct cmd_entry cmd_save_buffer_entry = {
.args = { "ab:", 1, 1 },
.usage = "[-a] " CMD_BUFFER_USAGE " path",
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};
@@ -52,7 +52,7 @@ const struct cmd_entry cmd_show_buffer_entry = {
.args = { "b:", 0, 0 },
.usage = CMD_BUFFER_USAGE,
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_save_buffer_exec
};