aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/tui/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/tui/input.h')
-rw-r--r--src/nvim/tui/input.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/tui/input.h b/src/nvim/tui/input.h
index 033f53b4e2..d7ee2b9e52 100644
--- a/src/nvim/tui/input.h
+++ b/src/nvim/tui/input.h
@@ -10,10 +10,14 @@
typedef struct term_input {
int in_fd;
bool paste_enabled;
+ bool waiting;
TermKey *tk;
TimeWatcher timer_handle;
Loop *loop;
Stream read_stream;
+ RBuffer *key_buffer;
+ uv_mutex_t key_buffer_mutex;
+ uv_cond_t key_buffer_cond;
} TermInput;
#ifdef INCLUDE_GENERATED_DECLARATIONS