Windows: Turn on native console by default

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2016-05-20 19:19:26 -07:00
parent 8f9c5000e6
commit 998860f573

View file

@ -83,13 +83,15 @@ func useNativeConsole() bool {
return false return false
} }
// TODO Windows. The native emulator still has issues which // Must have a post-TP5 RS1 build of Windows Server 2016/Windows 10 for
// mean it shouldn't be enabled for everyone. Change this next line to true // the native console to be usable.
// to change the default to "enable if available". In the meantime, users if osv.Build < 14350 {
// can still try it out by using USE_NATIVE_CONSOLE env variable.
return false return false
} }
return true
}
// getNativeConsole returns the console modes ('state') for the native Windows console // getNativeConsole returns the console modes ('state') for the native Windows console
func getNativeConsole() (State, error) { func getNativeConsole() (State, error) {
var ( var (