[PATCH 2/6] Cygwin: pty: Add workaround for handling of backspace when pcon enabled
Takashi Yano
takashi.yano@nifty.ne.jp
Wed Mar 18 13:01:14 GMT 2026
On Wed, 18 Mar 2026 20:20:32 +0900
Takashi Yano wrote:
> Hi Johannes,
>
> On Tue, 17 Mar 2026 16:28:28 +0100 (CET)
> Johannes Schindelin wrote:
> > This cannot be correct, and I am rather convinced that the idea behind the
> > patch (interleaving `WriteFile()` calls to the pipe with sending raw
> > keyboard events via `WriteConsoleInput()` to a _different_ handle) will
> > _never_ be robust enough.
>
> Then, only the thing we can do till fixing the issue upstream, is
> writing all chars using WriteConsoleInput() instead of WriteFile()...
>
> What do you think?
On second thought, replacing Ctrl-H with '\x7f' might be enough.
Please see PATCH 2/6 v2.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
More information about the Cygwin-patches
mailing list