Thanks for the pointer. Unfortunately, the document does not mention about the behaviour of WriteConsoleInput() in the win32-inpu-mode.
I expected that ReadConsoleInput() returns the INPUT_RECORDS which WriteConsoleInput() sends. However, that does not seem true in this mode. On Sat, 31 Aug 2024 12:24:46 +0800 Adamyg Mob wrote: > *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 testing? There is no other means than modifying the source code of cygwin1.dll and rebuild it. I already tried that and the problem disappeard. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple