Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
I raised the same question under: https://github.com/microsoft/terminal/issues/17824 *cons_master_thread() should *possibly maintain a local key cache and not push back events. Alternatively, from research these pseudo key events have Vk=0/Sc=0 values (only char and down are set); as such peek th

Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
*One suspect is the fhandler_console::cons_master_thread (), which attempts to mine signals within the input stream; yet it may not handle a single key being represented by multiple events.*; furthermore one of the few uses of WriteConsoleInput Is there any means of disabling the feature for testi

cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
Cygwin: CYGWIN_NT-10.0-19045 WEED3 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin Windows Terminal version: 1.20.11781.0 Windows build number: 10.0.19045.4780 When running a cygwin64 based terminal application under a MsTerminal session, with win32-raw-mode "\033[?9001h" enabled, after brief