mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0909: MS-Windows: using ConPTY even though it is not stable
Problem: MS-Windows: using ConPTY even though it is not stable. Solution: When ConPTY version is unstable, prefer using winpty. (Ken Takata, closes #3949)
This commit is contained in:
@@ -5521,7 +5521,7 @@ dyn_conpty_init(int verbose)
|
||||
if (handled)
|
||||
return result;
|
||||
|
||||
if (!has_vtp_working())
|
||||
if (!has_conpty_working())
|
||||
{
|
||||
handled = TRUE;
|
||||
result = FAIL;
|
||||
@@ -6139,7 +6139,7 @@ term_and_job_init(
|
||||
|
||||
if (tty_type == NUL)
|
||||
{
|
||||
if (has_conpty)
|
||||
if (has_conpty && (is_conpty_stable() || !has_winpty))
|
||||
use_conpty = TRUE;
|
||||
else if (has_winpty)
|
||||
use_winpty = TRUE;
|
||||
|
Reference in New Issue
Block a user