mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 573730: Turn on ConPTY as default PTY in Windows
Change-Id: I27b2719c8fc5853792eba403fd5f5ca116dd7156
This commit is contained in:
parent
1c404b050d
commit
4c87198224
1 changed files with 4 additions and 4 deletions
|
@ -292,10 +292,10 @@ public class PTY {
|
|||
if (!isWindows) {
|
||||
isConPTY = IS_CONPTY.CONPTY_NO;
|
||||
}
|
||||
// Force conpty off by default
|
||||
// NOTE: to invert the default, the presence of the property must be checked too, not
|
||||
// just the getBoolean return!
|
||||
if (!Boolean.getBoolean("org.eclipse.cdt.core.conpty_enabled")) { //$NON-NLS-1$
|
||||
// Disable ConPTY if the user needs to
|
||||
boolean conPtyEnabled = Boolean
|
||||
.parseBoolean(System.getProperty("org.eclipse.cdt.core.conpty_enabled", "true")); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (!conPtyEnabled) {
|
||||
isConPTY = IS_CONPTY.CONPTY_NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue