cstamas opened a new pull request, #14039: URL: https://github.com/apache/maven/pull/14039
Fixes #14018 Since JLine was removed in 3.10.1, Maven turns colors on for a Windows console only when an environment variable shows the terminal handles ANSI escapes (WT_SESSION, ConEmuANSI, ANSICON, TERM_PROGRAM=vscode or TERM). A shell that Windows hands over to Windows Terminal, for example one launched by GitHub Desktop, does not get WT_SESSION, so colors were off even though the terminal renders them. Windows 11 uses Windows Terminal as the default terminal, and the legacy console host is opt-in there, so trust an interactive console on Windows 11 too. Other Windows versions keep the environment variable checks, as the legacy console host does not process escapes unless the program enables it. Windows 11 users who made the legacy console their default again can use --color=never. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
