aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/pty_process_win.c
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2019-11-22 14:01:12 +0900
committerBjörn Linse <bjorn.linse@gmail.com>2020-01-17 11:36:28 +0100
commit1e4f29069146cbab0be0559d87e399aefa433a29 (patch)
treee9a50ea156867a93c3031e09c6d85573d8c397e7 /src/nvim/os/pty_process_win.c
parentc86d5fa981b0651167f789aaff685b42cad7aaca (diff)
downloadrneovim-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.c3
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) {