Cygwin: pty: Introduce disable_pcon in environment CYGWIN.
- For programs which does not work properly with pseudo console, disable_pcon in environment CYGWIN is introduced. If disable_pcon is set, pseudo console support is disabled.
This commit is contained in:
committed by
Corinna Vinschen
parent
da4ee7d60b
commit
cdf5db22f1
@@ -3145,6 +3145,8 @@ is_running_as_service (void)
|
||||
bool
|
||||
fhandler_pty_master::setup_pseudoconsole ()
|
||||
{
|
||||
if (disable_pcon)
|
||||
return false;
|
||||
/* If the legacy console mode is enabled, pseudo console seems
|
||||
not to work as expected. To determine console mode, registry
|
||||
key ForceV2 in HKEY_CURRENT_USER\Console is checked. */
|
||||
|
Reference in New Issue
Block a user