aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 8a4ec29d..e1cd0b7e 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1096,9 +1096,17 @@ struct client {
char *cwd;
struct tty tty;
- FILE *stdin_file;
- FILE *stdout_file;
- FILE *stderr_file;
+
+ int stdin_fd;
+ void *stdin_data;
+ void (*stdin_callback)(struct client *, void *);
+ struct bufferevent *stdin_event;
+
+ int stdout_fd;
+ struct bufferevent *stdout_event;
+
+ int stderr_fd;
+ struct bufferevent *stderr_event;
struct event repeat_timer;
@@ -1108,7 +1116,7 @@ struct client {
#define CLIENT_TERMINAL 0x1
#define CLIENT_PREFIX 0x2
-/* 0x4 unused */
+#define CLIENT_EXIT 0x4
#define CLIENT_REDRAW 0x8
#define CLIENT_STATUS 0x10
#define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */