[PATCH 0/6] Fix out-of-order keystrokes
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Mar 17 12:23:04 GMT 2026
The reproducer that uses AutoHotKey provided by Johannes:
https://cygwin.com/pipermail/cygwin-patches/2026q1/014714.html
uncovered several issues regarding input transfer between nat-
pipe and cyg-pipe. Most of the issues happen when non-cygwin
shell start cygwin-app. This patch series addresses these issues.
Takashi Yano (6):
Cygwin: console: Fix master thread for a pseudo console
Cygwin: pty: Add workaround for handling of backspace when pcon
enabled
Cygwin: console Use input_mutex in the parent PTY in master thread
Cygwin: pty: Apply line_edit() for transferred input to to_cyg
Cygwin: pty: Guard get_winpid_to_hand_over() with attach_mutex
Cygwin: pty: Guard to_be_read_from_nat_pipe() by pipe_sw_mutex
winsup/cygwin/fhandler/console.cc | 111 ++++++-----------
winsup/cygwin/fhandler/pty.cc | 158 +++++++++++++++++++++---
winsup/cygwin/local_includes/fhandler.h | 2 +
winsup/cygwin/local_includes/tty.h | 2 +
winsup/cygwin/tty.cc | 1 +
5 files changed, 181 insertions(+), 93 deletions(-)
--
2.51.0
More information about the Cygwin-patches
mailing list