mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix #28814
Signed-off-by: Ximo Guanter Gonzálbez <joaquin.guantergonzalbez@telefonica.com>
This commit is contained in:
parent
75fe414440
commit
ea65a0b134
1 changed files with 0 additions and 7 deletions
|
@ -62,13 +62,6 @@ func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if os.Getenv("ConEmuANSI") == "ON" || os.Getenv("ConsoleZVersion") != "" {
|
|
||||||
// The ConEmu and ConsoleZ terminals emulate ANSI on output streams well.
|
|
||||||
emulateStdin = true
|
|
||||||
emulateStdout = false
|
|
||||||
emulateStderr = false
|
|
||||||
}
|
|
||||||
|
|
||||||
// Temporarily use STD_INPUT_HANDLE, STD_OUTPUT_HANDLE and
|
// Temporarily use STD_INPUT_HANDLE, STD_OUTPUT_HANDLE and
|
||||||
// STD_ERROR_HANDLE from syscall rather than x/sys/windows as long as
|
// STD_ERROR_HANDLE from syscall rather than x/sys/windows as long as
|
||||||
// go-ansiterm hasn't switch to x/sys/windows.
|
// go-ansiterm hasn't switch to x/sys/windows.
|
||||||
|
|
Loading…
Add table
Reference in a new issue