Sync OpenBSD patchset 1102:

Add a buffer with all input from last ground state, will be used for
control mode. From George Nachman.
This commit is contained in:
Tiago Cunha
2012-05-03 16:55:48 +00:00
parent 714416074a
commit d0907861f9
2 changed files with 37 additions and 8 deletions

6
tmux.h
View File

@ -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;
};
/*