From a5a3d7160d7cb70ef2477f243d7a537fc4fa20e8 Mon Sep 17 00:00:00 2001 From: erw7 Date: Sat, 16 Nov 2019 13:55:27 +0900 Subject: Change option name from termwintype to termtype --- src/nvim/os/pty_process_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/os') 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) { -- cgit