Skip to content

Commit

Permalink
Use ConPTY if winpty is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Feb 13, 2019
1 parent f7d1eac commit b0dccb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terminal.c
Original file line number Diff line number Diff line change
Expand Up @@ -6139,7 +6139,7 @@ term_and_job_init(

if (tty_type == NUL)
{
if (has_conpty && is_conpty_stable())
if (has_conpty && (is_conpty_stable() || !has_winpty))
use_conpty = TRUE;
else if (has_winpty)
use_winpty = TRUE;
Expand Down

0 comments on commit b0dccb8

Please sign in to comment.