diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-14 22:14:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2016-10-14 22:14:23 +0000 |
commit | 7a01d0fd7a51152adf7bf9c41b69f4e1810846a7 (patch) | |
tree | 49d01266139f4b1abc026283b682ea1d04c54269 /usr.bin/tmux/cmd-save-buffer.c | |
parent | 7208db85bf9d1098e9186149a922dfec263938e1 (diff) |
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.c | 6 |
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 }; |