mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: Turn on native console by default
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
52debcd58a
commit
c152dc48e5
1 changed files with 7 additions and 5 deletions
|
@ -83,13 +83,15 @@ func useNativeConsole() bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// TODO Windows. The native emulator still has issues which
|
||||
// mean it shouldn't be enabled for everyone. Change this next line to true
|
||||
// to change the default to "enable if available". In the meantime, users
|
||||
// can still try it out by using USE_NATIVE_CONSOLE env variable.
|
||||
// Must have a post-TP5 RS1 build of Windows Server 2016/Windows 10 for
|
||||
// the native console to be usable.
|
||||
if osv.Build < 14350 {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
// getNativeConsole returns the console modes ('state') for the native Windows console
|
||||
func getNativeConsole() (State, error) {
|
||||
var (
|
||||
|
|
Loading…
Reference in a new issue