aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_win.c
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-11-16 13:55:27 +0900
committerBjörn Linse <bjorn.linse@gmail.com>2020-01-17 11:36:28 +0100
commita5a3d7160d7cb70ef2477f243d7a537fc4fa20e8 (patch)
tree2ef5f24c4b4b5722971576d2f1f087980f188af4 /src/nvim/os/pty_process_win.c
parent8f91d709b0006e3fcfa4cb59abd9b77938096d76 (diff)
downloadrneovim-a5a3d7160d7cb70ef2477f243d7a537fc4fa20e8.tar.gz
rneovim-a5a3d7160d7cb70ef2477f243d7a537fc4fa20e8.tar.bz2
rneovim-a5a3d7160d7cb70ef2477f243d7a537fc4fa20e8.zip
Change option name from termwintype to termtype
Diffstat (limited to 'src/nvim/os/pty_process_win.c')
-rw-r--r--src/nvim/os/pty_process_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c
index 64d4408ece..93f1656029 100644
--- a/src/nvim/os/pty_process_win.c
+++ b/src/nvim/os/pty_process_win.c
@@ -56,8 +56,8 @@ int pty_process_spawn(PtyProcess *ptyproc)
assert(proc->err.closed);
- int pty_type = *p_twt;
- if (pty_type == 'c' && os_has_conpty_working()) {
+ int pty_type = *p_tmt;
+ if (pty_type != 'w' && os_has_conpty_working()) {
if ((conpty_object =
os_conpty_init(&in_name, &out_name,
ptyproc->width, ptyproc->height)) != NULL) {