aboutsummaryrefslogtreecommitdiff
path: root/clint.py
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-03-26 16:35:24 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-26 18:30:18 -0300
commit452804638d4b7a25082990bbce31f64911d58b3d (patch)
tree41487c599a6e87c6b17299d195a2a3813626ce32 /clint.py
parentf8432ef127c0d84bc89ef604dfd6b619acd89c3b (diff)
downloadrneovim-452804638d4b7a25082990bbce31f64911d58b3d.tar.gz
rneovim-452804638d4b7a25082990bbce31f64911d58b3d.tar.bz2
rneovim-452804638d4b7a25082990bbce31f64911d58b3d.zip
Reimplement input functions on top of libuv
The functions `mch_inchar`, `mch_breakcheck`, `mch_char_avail` were reimplemented on top of libuv. Here's how it works: - When Neovim needs to wait for characters, it will transfer control to libuv event loop. - When the libuv event loop gets user input, it will transfer control back to Neovim - Neovim uses the `input_read` function to get the actual data read by libuv. With this scheme its possible to keep Neovim single-threaded while enjoying the benefits provided by libuv. This commit leaves SIGWINCH broken for now
Diffstat (limited to 'clint.py')
0 files changed, 0 insertions, 0 deletions