notice that in a windows cmd.exe console, the jansi mode "WINDOWS" works fine ... this is independent of the fact that the process "bash.exe" from cygwin is running
notice also that on windows, a very frequent usage is to use cmder console emulator (https://cmder.net/) + cygwin
The cmder console define several environment variables, including
ConEmuANSI="ON"
which could be tested to use the standard ANSI mode of jansi
kept ConEmu support part of the PR
didn't merge the Cygwin removal: absolutely independent, and you have no proof that there is any issue with the detection as it was written
…was typo "!" IS_CYGWIN = ... !"cygwin".equals(System.getenv("TERM") instead of IS_CYGWIN = ... "cygwin".equals(System.getenv("TERM")
notice that in a windows cmd.exe console, the jansi mode "WINDOWS" works fine ... this is independent of the fact that the process "bash.exe" from cygwin is running
notice also that on windows, a very frequent usage is to use cmder console emulator (https://cmder.net/) + cygwin The cmder console define several environment variables, including ConEmuANSI="ON" which could be tested to use the standard ANSI mode of jansi