瀏覽代碼

Force input stream ANSI emulation for ConEmu.

Signed-off-by: Ron Williams <ron.a.williams@gmail.com>
Ron Williams 9 年之前
父節點
當前提交
0fd4bbda2d
共有 1 個文件被更改,包括 1 次插入0 次删除
  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
 	}