Commit 5efb26b
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 c18c474 commit 5efb26b
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4121 | 4121 | | |
4122 | 4122 | | |
4123 | 4123 | | |
| 4124 | + | |
4124 | 4125 | | |
| 4126 | + | |
| 4127 | + | |
| 4128 | + | |
| 4129 | + | |
| 4130 | + | |
| 4131 | + | |
4125 | 4132 | | |
4126 | 4133 | | |
4127 | 4134 | | |
| |||
4158 | 4165 | | |
4159 | 4166 | | |
4160 | 4167 | | |
| 4168 | + | |
| 4169 | + | |
4161 | 4170 | | |
4162 | 4171 | | |
4163 | 4172 | | |
| |||
0 commit comments