diff options
author | nicm <nicm> | 2017-01-13 10:12:12 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-13 10:12:12 +0000 |
commit | 95950bf668cee5a80cd9bbe28d7134a52a240426 (patch) | |
tree | 37618ea72fabbd151d60519139e9d816124ca170 /tmux.h | |
parent | 24cba5907b5006363ac7f83f31801153f9c23b37 (diff) | |
download | rtmux-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 *); |