mirror of https://github.com/docker/docs.git
Force input stream ANSI emulation for ConEmu.
Signed-off-by: Ron Williams <ron.a.williams@gmail.com> (cherry picked from commit 0fd4bbda2dfb9a1bfc6781f2a3dacedc62c7c11b) Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
parent
5619e72a34
commit
f4650e2eb8
|
|
@ -73,6 +73,7 @@ func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
|
||||||
|
|
||||||
if os.Getenv("ConEmuANSI") == "ON" {
|
if os.Getenv("ConEmuANSI") == "ON" {
|
||||||
// The ConEmu terminal emulates ANSI on output streams well.
|
// The ConEmu terminal emulates ANSI on output streams well.
|
||||||
|
emulateStdin = true
|
||||||
emulateStdout = false
|
emulateStdout = false
|
||||||
emulateStderr = false
|
emulateStderr = false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue