Commit 31e636d
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 f007d03 commit 31e636d
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2879 | 2879 | | |
2880 | 2880 | | |
2881 | 2881 | | |
| 2882 | + | |
2882 | 2883 | | |
| 2884 | + | |
| 2885 | + | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
2883 | 2890 | | |
2884 | 2891 | | |
2885 | 2892 | | |
| |||
2915 | 2922 | | |
2916 | 2923 | | |
2917 | 2924 | | |
| 2925 | + | |
| 2926 | + | |
2918 | 2927 | | |
2919 | 2928 | | |
2920 | 2929 | | |
| |||
0 commit comments