aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-19 10:01:12 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-19 10:01:12 +0100
commit85af9c9c9d5614a483f4346a75da6aa589b33a12 (patch)
tree233806acbc25ef6dea4cef0e5525b03cc935078e /tmux.h
parent95c38087dba6f5ac32f0df494a7585e9df8a2a77 (diff)
parentfa6deb58664739a8073f188a4e3a88a122270537 (diff)
downloadrtmux-85af9c9c9d5614a483f4346a75da6aa589b33a12.tar.gz
rtmux-85af9c9c9d5614a483f4346a75da6aa589b33a12.tar.bz2
rtmux-85af9c9c9d5614a483f4346a75da6aa589b33a12.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index e571c286..a78a7206 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1047,7 +1047,8 @@ struct tty {
struct evbuffer *in;
struct event event_out;
struct evbuffer *out;
- size_t written;
+ struct event timer;
+ size_t discarded;
struct termios tio;
@@ -1063,6 +1064,7 @@ struct tty {
#define TTY_STARTED 0x10
#define TTY_OPENED 0x20
#define TTY_FOCUS 0x40
+#define TTY_BLOCK 0x80
int flags;
struct tty_term *term;
@@ -1310,6 +1312,9 @@ struct client {
char *ttyname;
struct tty tty;
+ size_t written;
+ size_t discarded;
+
void (*stdin_callback)(struct client *, int, void *);
void *stdin_callback_data;
struct evbuffer *stdin_data;