diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-08-12 19:16:06 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-08-13 08:52:17 -0300 |
| commit | 6b3cd381dcd01268479dc56103498a029133644d (patch) | |
| tree | 0944a99a09ca4c574d4a3945e9bcb9d4f0e8d505 /src/nvim/tui | |
| parent | 166d8c799f367e64744cef4d9a6ddd386809ece8 (diff) | |
| download | rneovim-6b3cd381dcd01268479dc56103498a029133644d.tar.gz rneovim-6b3cd381dcd01268479dc56103498a029133644d.tar.bz2 rneovim-6b3cd381dcd01268479dc56103498a029133644d.zip | |
rstream: Pass read count to read events
This is necessary to keep events in the same order received from the OS.
Diffstat (limited to 'src/nvim/tui')
| -rw-r--r-- | src/nvim/tui/term_input.inl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tui/term_input.inl b/src/nvim/tui/term_input.inl index 1907d9895e..c396557160 100644 --- a/src/nvim/tui/term_input.inl +++ b/src/nvim/tui/term_input.inl @@ -208,7 +208,8 @@ static bool handle_forced_escape(TermInput *input) static void restart_reading(void **argv); -static void read_cb(Stream *stream, RBuffer *buf, void *data, bool eof) +static void read_cb(Stream *stream, RBuffer *buf, size_t c, void *data, + bool eof) { TermInput *input = data; |