On Tue Feb 25 15:59:16 2025 +0000, eric pouech wrote:
sorry, my post wasn't 100% clear:
- run cmd with full blown console (./wine wineconsole cmd)
- run 'dir /p /s \*'
- pressing any key works (and pages output)
- but ctrl-c doesn't stop dir /p as it should
OK, latest change should fix it. Key was adding ENABLE_PROCESSED_INPUT in the call to SetConsoleMode. However, although this now allows Ctrl-C to break out of dir /p prompts, the user is still required to press a key to exit. This seems like a bug in wine to me. I haven't tried similar code on Windows and I don't have time to investigate further at the moment.