aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-06-18 08:34:22 +0000
committernicm <nicm>2020-06-18 08:34:22 +0000
commit2372b0fdc67f17336e39d8eb86019103aad6bb4e (patch)
tree593dc9a961f5695e4a3986a8a82cc185d6613d38 /tmux.h
parent1bf9555e4f1ad19e1e6f97ede6fb19808ff1c267 (diff)
downloadrtmux-2372b0fdc67f17336e39d8eb86019103aad6bb4e.tar.gz
rtmux-2372b0fdc67f17336e39d8eb86019103aad6bb4e.tar.bz2
rtmux-2372b0fdc67f17336e39d8eb86019103aad6bb4e.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 'tmux.h')
-rw-r--r--tmux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 837566ca..0a1a740b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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| \