TerminalConsoleAppender
TerminalConsoleAppender copied to clipboard
ANSI not used when using eclipse 2022-09
Eclipse 2022-09 introduced support for ANSI which isn't currently being detected for the DumbTerminal.
Are you aware of a reliable way to detect the newer Eclipse versions at runtime?
This is usually hard to do, and the current implementations prefers disabling features (e.g. ANSI colors) rather than producing a mess if the terminal does not interpret the ANSI codes.
You can use the system properties (e.g. -Dterminal.ansi=true) to override the automatic detection.