Commit e96d183
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 5aafd1d commit e96d183
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4133 | 4133 | | |
4134 | 4134 | | |
4135 | 4135 | | |
| 4136 | + | |
4136 | 4137 | | |
| 4138 | + | |
| 4139 | + | |
| 4140 | + | |
| 4141 | + | |
| 4142 | + | |
| 4143 | + | |
4137 | 4144 | | |
4138 | 4145 | | |
4139 | 4146 | | |
| |||
4170 | 4177 | | |
4171 | 4178 | | |
4172 | 4179 | | |
| 4180 | + | |
| 4181 | + | |
4173 | 4182 | | |
4174 | 4183 | | |
4175 | 4184 | | |
| |||
0 commit comments