aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-05-03 16:55:48 +0000
committerTiago Cunha <tcunha@gmx.com>2012-05-03 16:55:48 +0000
commitd0907861f933c8ff7547a0f4994a620e796a995b (patch)
tree5017a19039a053fe18b9587a809742eeab9f56fc /tmux.h
parent714416074ac16bfdc97d875ea2bce926c7b9637f (diff)
downloadrtmux-d0907861f933c8ff7547a0f4994a620e796a995b.tar.gz
rtmux-d0907861f933c8ff7547a0f4994a620e796a995b.tar.bz2
rtmux-d0907861f933c8ff7547a0f4994a620e796a995b.zip
Sync OpenBSD patchset 1102:
Add a buffer with all input from last ground state, will be used for control mode. From George Nachman.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 8aaf0426..10a19b2b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -773,6 +773,12 @@ struct input_ctx {
#define INPUT_DISCARD 0x1
const struct input_state *state;
+
+ /*
+ * All input received since we were last in the ground state. Sent to
+ * control clients on connection.
+ */
+ struct evbuffer *since_ground;
};
/*