diff options
author | erw7 <erw7.github@gmail.com> | 2019-11-22 14:01:12 +0900 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-01-17 11:36:28 +0100 |
commit | 1e4f29069146cbab0be0559d87e399aefa433a29 (patch) | |
tree | e9a50ea156867a93c3031e09c6d85573d8c397e7 /src/nvim/os/pty_process_win.c | |
parent | c86d5fa981b0651167f789aaff685b42cad7aaca (diff) | |
download | rneovim-1e4f29069146cbab0be0559d87e399aefa433a29.tar.gz rneovim-1e4f29069146cbab0be0559d87e399aefa433a29.tar.bz2 rneovim-1e4f29069146cbab0be0559d87e399aefa433a29.zip |
Remove termtype option
Diffstat (limited to 'src/nvim/os/pty_process_win.c')
-rw-r--r-- | src/nvim/os/pty_process_win.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/os/pty_process_win.c b/src/nvim/os/pty_process_win.c index 93f1656029..6f7100e846 100644 --- a/src/nvim/os/pty_process_win.c +++ b/src/nvim/os/pty_process_win.c @@ -56,8 +56,7 @@ int pty_process_spawn(PtyProcess *ptyproc) assert(proc->err.closed); - int pty_type = *p_tmt; - if (pty_type != 'w' && os_has_conpty_working()) { + if (os_has_conpty_working()) { if ((conpty_object = os_conpty_init(&in_name, &out_name, ptyproc->width, ptyproc->height)) != NULL) { |