summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-06-18 08:34:22 +0000
committernicm <nicm@openbsd.org>2020-06-18 08:34:22 +0000
commitb3e4eeb8c1a5cdc32b914587b37135dae4fcd23e (patch)
treeb8a9a381196a8e886b0493e30aa81fedab0d60cf /usr.bin/tmux/tmux.h
parentAdd entry for wsfont_init.9 in man9 Makefile. (diff)
downloadwireguard-openbsd-b3e4eeb8c1a5cdc32b914587b37135dae4fcd23e.tar.xz
wireguard-openbsd-b3e4eeb8c1a5cdc32b914587b37135dae4fcd23e.zip
Add a flag to make a client wait for an empty line before exiting in
control mode to avoid stray commands ending up in the shell.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 5a33fb29003..b4168c7212f 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.1070 2020/06/16 08:18:34 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1071 2020/06/18 08:34:22 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -515,6 +515,7 @@ enum msgtype {
MSG_UNLOCK,
MSG_WAKEUP,
MSG_EXEC,
+ MSG_FLAGS,
MSG_READ_OPEN = 300,
MSG_READ,
@@ -1644,6 +1645,7 @@ struct client {
#define CLIENT_NOFORK 0x40000000
#define CLIENT_ACTIVEPANE 0x80000000ULL
#define CLIENT_CONTROL_PAUSEAFTER 0x100000000ULL
+#define CLIENT_CONTROL_WAITEXIT 0x200000000ULL
#define CLIENT_ALLREDRAWFLAGS \
(CLIENT_REDRAWWINDOW| \
CLIENT_REDRAWSTATUS| \