summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-copy-mode.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-copy-mode.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-copy-mode.c')
-rw-r--r--usr.bin/tmux/cmd-copy-mode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-copy-mode.c b/usr.bin/tmux/cmd-copy-mode.c
index 71a79d7dc8d..dcbebcfec2c 100644
--- a/usr.bin/tmux/cmd-copy-mode.c
+++ b/usr.bin/tmux/cmd-copy-mode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-copy-mode.c,v 1.28 2016/10/10 21:51:39 nicm Exp $ */
+/* $OpenBSD: cmd-copy-mode.c,v 1.29 2016/10/14 22:14:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -35,7 +35,7 @@ const struct cmd_entry cmd_copy_mode_entry = {
.tflag = CMD_PANE,
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_copy_mode_exec
};
@@ -48,7 +48,7 @@ const struct cmd_entry cmd_clock_mode_entry = {
.tflag = CMD_PANE,
- .flags = 0,
+ .flags = CMD_AFTERHOOK,
.exec = cmd_copy_mode_exec
};