Closed JesseVelden closed 1 year ago
like #87, how can we detect that the console supports ANSI escape codes? is there any system property?
like #87, how can we detect that the console supports ANSI escape codes? is there any system property?
You can use -Djansi.force=true
system property. This causes other problems with Eclipse, as it expects all ansi sequences to be supported, which is definitely not the case in the eclipse console unfortunately.
Unfortunately, I also can't see any environment variable or system property that could be used to automatically detect the Eclipse environment...
When I am using the
ANSI Escape in Console
Eclipse plugin and doingAnsiConsole.systemInstall();
, it doesn't output any color codes in the Eclipse console.Without
AnsiConsole.systemInstall();
ANSI Escape characters are parsing fine with the plugin.