diff options
author | erw7 <erw7.github@gmail.com> | 2019-01-20 15:31:32 +0900 |
---|---|---|
committer | erw7 <erw7.github@gmail.com> | 2020-05-26 14:16:06 +0900 |
commit | 57a4f8905b179d5ccf292068cab4946c1d90a9c0 (patch) | |
tree | 53282e373058b49028a06979eb9e5dec522f65b4 /src/nvim/event | |
parent | 29f1e1995da1c3e6fb94a5f939c43481df3a500d (diff) | |
download | rneovim-57a4f8905b179d5ccf292068cab4946c1d90a9c0.tar.gz rneovim-57a4f8905b179d5ccf292068cab4946c1d90a9c0.tar.bz2 rneovim-57a4f8905b179d5ccf292068cab4946c1d90a9c0.zip |
win/TUI: enable mouse on ConEmu and vtpcon without vti
Diffstat (limited to 'src/nvim/event')
-rw-r--r-- | src/nvim/event/stream.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nvim/event/stream.c b/src/nvim/event/stream.c index 8faf5d2a8c..1e9e530a42 100644 --- a/src/nvim/event/stream.c +++ b/src/nvim/event/stream.c @@ -11,6 +11,9 @@ #include "nvim/rbuffer.h" #include "nvim/macros.h" #include "nvim/event/stream.h" +#ifdef WIN32 +# include "nvim/os/os_win_console.h" +#endif #ifdef INCLUDE_GENERATED_DECLARATIONS # include "event/stream.c.generated.h" @@ -21,10 +24,6 @@ #define uv_stream_get_write_queue_size(stream) stream->write_queue_size #endif -#ifndef ENABLE_VIRTUAL_TERMINAL_INPUT -# define ENABLE_VIRTUAL_TERMINAL_INPUT 0x0200 -#endif - /// Sets the stream associated with `fd` to "blocking" mode. /// /// @return `0` on success, or libuv error code on failure. |