This performs a similar check to the `"ConEmuANSI"` check that was recently
added to enable arrow keys navigation in docker container terminals.
Signed-off-by: Josh Wilson <josh.wilson@fivestars.com>
| ... | ... |
@@ -71,8 +71,8 @@ func StdStreams() (stdIn io.ReadCloser, stdOut, stdErr io.Writer) {
|
| 71 | 71 |
} |
| 72 | 72 |
} |
| 73 | 73 |
|
| 74 |
- if os.Getenv("ConEmuANSI") == "ON" {
|
|
| 75 |
- // The ConEmu terminal emulates ANSI on output streams well. |
|
| 74 |
+ if os.Getenv("ConEmuANSI") == "ON" || os.Getenv("ConsoleZVersion") != "" {
|
|
| 75 |
+ // The ConEmu and ConsoleZ terminals emulate ANSI on output streams well. |
|
| 76 | 76 |
emulateStdin = true |
| 77 | 77 |
emulateStdout = false |
| 78 | 78 |
emulateStderr = false |