Commit 297cc92
committed
mingw: really handle SIGINT
Previously, we did not install any handler for Ctrl+C, but now we really
want to because the MSYS2 runtime learned the trick to call the
ConsoleCtrlHandler when Ctrl+C was pressed.
With this, hitting Ctrl+C while `git log` is running will only terminate
the Git process, but not the pager. This finally matches the behavior on
Linux and on macOS.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 8d6f164 commit 297cc92
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3580 | 3580 | | |
3581 | 3581 | | |
3582 | 3582 | | |
| 3583 | + | |
3583 | 3584 | | |
| 3585 | + | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3584 | 3591 | | |
3585 | 3592 | | |
3586 | 3593 | | |
| |||
3617 | 3624 | | |
3618 | 3625 | | |
3619 | 3626 | | |
| 3627 | + | |
| 3628 | + | |
3620 | 3629 | | |
3621 | 3630 | | |
3622 | 3631 | | |
| |||
0 commit comments