How to determine if the terminal is a windows terminal.
I want to enabled ANSI output in windows terminal and disenabled in CMD.
Is it possible to judge through environmental variables? like:
ANSICONin https://github.com/adoxa/ansiconConEmuANSIin https://conemu.github.io/en/ConEmuEnvironment.html
What is the best practice?