diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-20 10:36:58 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-06-24 13:02:23 -0300 |
commit | ef4c5ccb21bda85cea7fa3c825f865c95f6cdbb4 (patch) | |
tree | feb546e72f9afdcc3f9d6138b7173e223fecbcc7 /src/nvim/os/msgpack_rpc_helpers.c | |
parent | b00a37544c2d0662e251fd80033509cb6ed8ffe2 (diff) | |
download | rneovim-ef4c5ccb21bda85cea7fa3c825f865c95f6cdbb4.tar.gz rneovim-ef4c5ccb21bda85cea7fa3c825f865c95f6cdbb4.tar.bz2 rneovim-ef4c5ccb21bda85cea7fa3c825f865c95f6cdbb4.zip |
event: Decouple user input checks from `event_poll`
This was done to generalize the usage of `event_poll`, which will now return
`true` only if a event has been processed/deferred before the timeout(if not
-1).
To do that, the `input_ready` calls have been extracted to the input.c
module(the `event_poll` call has been surrounded by `input_ready` calls,
resulting in the same behavior).
The `input_start`/`input_stop` calls still present in `event_poll` are
temporary: When the API becomes the only way to read user input, it will no
longer be necessary to start/stop the input stream.
Diffstat (limited to 'src/nvim/os/msgpack_rpc_helpers.c')
0 files changed, 0 insertions, 0 deletions