diff options
author | 2017-01-13 10:12:12 +0000 | |
---|---|---|
committer | 2017-01-13 10:12:12 +0000 | |
commit | b15f33eca6707a8f53feb3de7d2cc1ef40504d16 (patch) | |
tree | 1f3364f7453c810ad008a76716b9246001eb1115 /usr.bin/tmux/tmux.h | |
parent | Ansify cpu_sysctl() on alpha, arm, arm64, luna88k and sparc64. (diff) | |
download | wireguard-openbsd-b15f33eca6707a8f53feb3de7d2cc1ef40504d16.tar.xz wireguard-openbsd-b15f33eca6707a8f53feb3de7d2cc1ef40504d16.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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index df3ff0b550f..daee5b2e96c 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.693 2017/01/12 15:36:35 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.694 2017/01/13 10:12:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 *); |