mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 10:26:04 +00:00
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.
This commit is contained in:
2
tmux.h
2
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 *);
|
||||
|
||||
Reference in New Issue
Block a user