gnodet opened a new pull request, #12550:
URL: https://github.com/apache/maven/pull/12550

   Backport of #12538 to `maven-4.0.x`.
   
   Cherry-pick of a3e576b6da99ed82c13d8f0c3629ac2ec148bc51 with a minor 
conflict resolution to preserve the `ProjectBuildLogAppender` block present on 
this branch.
   
   ---
   
   **Original PR:** #12538
   **Original issue:** #12536
   
   On Windows, JLine puts the terminal into raw mode and consumes Ctrl+C as 
console input before the JVM sees it. This registers a `Terminal.Signal.INT` 
handler that calls `System.exit(130)` (128 + SIGINT) to restore proper Ctrl+C 
behavior, guarded by `OSUtils.IS_WINDOWS` and `!embedded()`.


-- 
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]

Reply via email to