aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:07:55 +0000
committernicm <nicm>2020-05-16 16:07:55 +0000
commitdceb6a15d04a2b2e050ab41816d0df3fe224b416 (patch)
treec2810c4472b71fd21301b6391e1a38a4e0774777 /tmux.h
parent126bacb473f7950a156944caba42fad5f1764287 (diff)
downloadrtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.tar.gz
rtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.tar.bz2
rtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.zip
Add a -D flag to ask tmux not to daemonize, useful both for running a
debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 1abb6ca6..8ab78d7a 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1584,6 +1584,7 @@ struct client {
#define CLIENT_DEFAULTSOCKET 0x8000000
#define CLIENT_STARTSERVER 0x10000000
#define CLIENT_REDRAWPANES 0x20000000
+#define CLIENT_NOFORK 0x40000000
#define CLIENT_ALLREDRAWFLAGS \
(CLIENT_REDRAWWINDOW| \
CLIENT_REDRAWSTATUS| \