summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-load-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-load-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-load-buffer.c')
-rw-r--r--usr.bin/tmux/cmd-load-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-load-buffer.c b/usr.bin/tmux/cmd-load-buffer.c
index 47558baaab8..fb0f8a187c6 100644
--- a/usr.bin/tmux/cmd-load-buffer.c
+++ b/usr.bin/tmux/cmd-load-buffer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-load-buffer.c,v 1.43 2016/10/10 21:51:39 nicm Exp $ */
+/* $OpenBSD: cmd-load-buffer.c,v 1.44 2016/10/14 22:14:22 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -42,7 +42,7 @@ const struct cmd_entry cmd_load_buffer_entry = {
.args = { "b:", 1, 1 },
.usage = CMD_BUFFER_USAGE " path",
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_load_buffer_exec
};