aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-05-26 08:41:47 +0000
committernicm <nicm>2020-05-26 08:41:47 +0000
commitea610a311902b56c6466d79332592ab7f3dc501a (patch)
tree5105e83b6490c4c95508648bc94ffa2f654dee66 /tmux.h
parent6f03e49e68dfe0d9c0c7d49079c4383b26aca916 (diff)
downloadrtmux-ea610a311902b56c6466d79332592ab7f3dc501a.tar.gz
rtmux-ea610a311902b56c6466d79332592ab7f3dc501a.tar.bz2
rtmux-ea610a311902b56c6466d79332592ab7f3dc501a.zip
Pass the stdout file descriptor from the client as well as stdin and use
them for control clients directly instead of passing everything via the client.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index a0369e34..4187ddd8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -498,6 +498,7 @@ enum msgtype {
MSG_IDENTIFY_CLIENTPID,
MSG_IDENTIFY_CWD,
MSG_IDENTIFY_FEATURES,
+ MSG_IDENTIFY_STDOUT,
MSG_COMMAND = 200,
MSG_DETACH,
@@ -967,6 +968,7 @@ struct window_pane {
int fd;
struct bufferevent *event;
+
struct window_pane_offset offset;
size_t base_offset;
@@ -1581,6 +1583,7 @@ struct client {
pid_t pid;
int fd;
+ int out_fd;
struct event event;
int retval;