On 10/30/21 5:06 AM, Naoto Aoki wrote:
Hi,

When I'm using some programs such as bash and python from msys2 under
Windows 10's pseudo console (ConPty), Ctrl+C is sometimes ignored.
Normally holding 'Ctrl' and pressing 'C' will make new line.
But, sometimes it does not and unholding 'Ctrl' makes new line under Conpty.
bash from Cygwin does also reproduce this issue.

Sorry, I do not have any Windows machines or a way to reproduce the issue.
Maybe the cygwin folks could help here?

My guess is that the ^C doesn't interrupt the read (more precisely,
_getch on mingw) in a way that allows the readline signal handler to run.
But I can only speculate.

Chet

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Reply via email to