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:
Ron Williams 2016-08-08 20:59:52 -07:00 committed by Victor Vieux
parent 5619e72a34
commit f4650e2eb8
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }