Commit aa59e23
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 8b907bd commit aa59e23
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4106 | 4106 | | |
4107 | 4107 | | |
4108 | 4108 | | |
| 4109 | + | |
4109 | 4110 | | |
| 4111 | + | |
| 4112 | + | |
| 4113 | + | |
| 4114 | + | |
| 4115 | + | |
| 4116 | + | |
4110 | 4117 | | |
4111 | 4118 | | |
4112 | 4119 | | |
| |||
4143 | 4150 | | |
4144 | 4151 | | |
4145 | 4152 | | |
| 4153 | + | |
| 4154 | + | |
4146 | 4155 | | |
4147 | 4156 | | |
4148 | 4157 | | |
| |||
0 commit comments