mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
Fix bug, use &loop->uv replace loop.
This commit is contained in:
parent
43833af53c
commit
23102bc18e
@ -47,7 +47,7 @@ void term_input_init(TermInput *input, Loop *loop)
|
||||
termkey_set_canonflags(input->tk, curflags | TERMKEY_CANON_DELBS);
|
||||
// setup input handle
|
||||
#ifdef WIN32
|
||||
uv_tty_init(loop, &input->tty_in, 0, 1);
|
||||
uv_tty_init(&loop->uv, &input->tty_in, 0, 1);
|
||||
uv_tty_set_mode(&input->tty_in, UV_TTY_MODE_RAW);
|
||||
rstream_init_stream(&input->read_stream, (uv_stream_t *)&input->tty_in, 0xfff);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user