Add a buffer with all input from last ground state, will be used for

control mode. From George Nachman.
This commit is contained in:
Nicholas Marriott
2012-04-25 21:12:49 +00:00
parent 94795eb48e
commit ff5155f719
2 changed files with 37 additions and 8 deletions

6
tmux.h
View File

@ -777,6 +777,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;
};
/*