Sfoglia il codice sorgente

Force input stream ANSI emulation for ConEmu.

Signed-off-by: Ron Williams <ron.a.williams@gmail.com>
Ron Williams 9 anni fa
parent
commit
0fd4bbda2d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      pkg/term/term_windows.go

+ 1 - 0
pkg/term/term_windows.go

@@ -73,6 +73,7 @@ func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
 
 	if os.Getenv("ConEmuANSI") == "ON" {
 		// The ConEmu terminal emulates ANSI on output streams well.
+		emulateStdin = true
 		emulateStdout = false
 		emulateStderr = false
 	}