codewithsinchana opened a new pull request, #14029: URL: https://github.com/apache/maven/pull/14029
This change improves ANSI terminal detection on Windows . Previously, Maven relied on terminal-specific environment variables to identify ANSI-capable Windows terminals. This could cause automatic color detection to fail in terminals launched through GitHub Desktop, even when the JVM reported that the console was a terminal. The detection logic now considers the JVM terminal status while retaining the existing environment-variable checks for compatibility with older Java versions. Tests have been added for terminal detection with and without environment variables. - [x] I hereby declare this contribution to be licensed under the [Apache License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0) -- 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]
