https://bugs.winehq.org/show_bug.cgi?id=55197
--- Comment #3 from Eric Pouech eric.pouech@gmail.com --- (In reply to Maarten from comment #2)
I tried https://gitlab.winehq.org/wine/wine/-/merge_requests/3310 and have the following remarks:
- the message "CTRL-C" event should get displayed multiple times. Once for
every time CTRL+C is pressed. In the patched wine, it only prints "CTRL-C event" again after pressing ENTER in between.
it's called several time, but there's likely a(nother) bug which makes print the message at the very same position (probably not handling the \n from the printf in handler)
- CTRL+Break should also cause a message to be displayed. On a 32-bit winxp
qemu VM, it causes the test executable to exit.
calling back the handler likely won't be supported it does terminate the app though from a unix terminal, you're supposed to use ctrl-\ instead of ctrl-break