diff options
author | erw7 <erw7.github@gmail.com> | 2019-04-28 18:46:48 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-28 11:46:48 +0200 |
commit | 8072f085d2edc254334af52261c6ff68d9143834 (patch) | |
tree | c40d4363047951fc97215a0e5ead755ce1a4edfd /src/nvim/tui/input.c | |
parent | cf80fd9e02422f90ecb967aacf7a5549246b4689 (diff) | |
download | rneovim-8072f085d2edc254334af52261c6ff68d9143834.tar.gz rneovim-8072f085d2edc254334af52261c6ff68d9143834.tar.bz2 rneovim-8072f085d2edc254334af52261c6ff68d9143834.zip |
win: stream_init() issue with tty on Windows #9884
ref #9825
Diffstat (limited to 'src/nvim/tui/input.c')
-rw-r--r-- | src/nvim/tui/input.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/tui/input.c b/src/nvim/tui/input.c index 04decb1a8c..6d9023bd79 100644 --- a/src/nvim/tui/input.c +++ b/src/nvim/tui/input.c @@ -49,15 +49,7 @@ void tinput_init(TermInput *input, Loop *loop) int curflags = termkey_get_canonflags(input->tk); termkey_set_canonflags(input->tk, curflags | TERMKEY_CANON_DELBS); // setup input handle -#ifdef WIN32 - 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 rstream_init_fd(loop, &input->read_stream, input->in_fd, 0xfff); -#endif // initialize a timer handle for handling ESC with libtermkey time_watcher_init(loop, &input->timer_handle, input); } |