You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Ansi.AUTO mode doesn't work for me on Windows, but it seems the that JANSI code itself is not the best. My TERM is set to cygwin and I get ANSI codes. I think the code only checks for xterm.
Currently Ansi.AUTO.enabled() returns true on Windows if the TERM environment variable value starts with "xterm". According to this StackOverflow question, a better (additional) way is to use the OSTYPE environment variable.
OSTYPE is set to cygwin on Cygwin, and to msys on git-bash (MinGW).
The text was updated successfully, but these errors were encountered:
Follow-up from #472:
Currently
Ansi.AUTO.enabled()
returnstrue
on Windows if theTERM
environment variable value starts with"xterm"
. According to this StackOverflow question, a better (additional) way is to use theOSTYPE
environment variable.OSTYPE
is set tocygwin
on Cygwin, and tomsys
on git-bash (MinGW).The text was updated successfully, but these errors were encountered: