diff options
| author | Matthieu Coudron <mattator@gmail.com> | 2020-05-26 11:03:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-26 11:03:50 +0200 |
| commit | 618e9a769220ffe331cc554c51485f9230a544ec (patch) | |
| tree | 4ba237ecf32e967e752829fda321b805777b1622 /src/nvim/os/tty.c | |
| parent | 8c588246a505e4fcd3d28e6d1f670e834c918529 (diff) | |
| parent | bb2be0de38c46f683bda45a32cf47493cf4db411 (diff) | |
| download | rneovim-618e9a769220ffe331cc554c51485f9230a544ec.tar.gz rneovim-618e9a769220ffe331cc554c51485f9230a544ec.tar.bz2 rneovim-618e9a769220ffe331cc554c51485f9230a544ec.zip | |
Merge pull request #11803 from erw7/virtual-terminal-input
[RDY] win/TUI: Use virtual terminal input if available
Diffstat (limited to 'src/nvim/os/tty.c')
| -rw-r--r-- | src/nvim/os/tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/tty.c b/src/nvim/os/tty.c index 4f525bed9a..c80ef99084 100644 --- a/src/nvim/os/tty.c +++ b/src/nvim/os/tty.c @@ -28,7 +28,7 @@ void os_tty_guess_term(const char **term, int out_fd) if (winpty) { // Force TERM=win32con when running in winpty. *term = "win32con"; - uv_set_vterm_state(UV_UNSUPPORTED); + uv_tty_set_vterm_state(UV_TTY_UNSUPPORTED); return; } @@ -55,7 +55,7 @@ void os_tty_guess_term(const char **term, int out_fd) } if (conemu_ansi) { - uv_set_vterm_state(UV_SUPPORTED); + uv_tty_set_vterm_state(UV_TTY_SUPPORTED); } } #endif |
