aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-01-13 10:12:12 +0000
committernicm <nicm>2017-01-13 10:12:12 +0000
commit95950bf668cee5a80cd9bbe28d7134a52a240426 (patch)
tree37618ea72fabbd151d60519139e9d816124ca170 /tmux.h
parent24cba5907b5006363ac7f83f31801153f9c23b37 (diff)
downloadrtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.tar.gz
rtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.tar.bz2
rtmux-95950bf668cee5a80cd9bbe28d7134a52a240426.zip
Add -E to detach-client to exec a command to replace the client instead
of exiting it, useful if tmux wasn't exec'd itself. From Jenna Magius.
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 fa157a1c..7d0be4f3 100644
--- a/tmux.h
+++ b/tmux.h
@@ -443,6 +443,7 @@ enum msgtype {
MSG_SUSPEND,
MSG_UNLOCK,
MSG_WAKEUP,
+ MSG_EXEC,
};
/*
@@ -1880,6 +1881,7 @@ int server_client_open(struct client *, char **);
void server_client_unref(struct client *);
void server_client_lost(struct client *);
void server_client_detach(struct client *, enum msgtype);
+void server_client_exec(struct client *, const char *);
void server_client_loop(void);
void server_client_push_stdout(struct client *);
void server_client_push_stderr(struct client *);