From ea65a0b1349b532e9d10d63835c751d291a7c0f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ximo=20Guanter=20Gonz=C3=A1lbez?= Date: Fri, 3 Aug 2018 13:42:42 +0200 Subject: [PATCH] Fix #28814 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ximo Guanter Gonzálbez --- pkg/term/term_windows.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/term/term_windows.go b/pkg/term/term_windows.go index 64ead3c53b..a3c3db1315 100644 --- a/pkg/term/term_windows.go +++ b/pkg/term/term_windows.go @@ -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 // STD_ERROR_HANDLE from syscall rather than x/sys/windows as long as // go-ansiterm hasn't switch to x/sys/windows.