bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ctrl+C is sometimes ignored on Windows 10's pseudo console


From: Chet Ramey
Subject: Re: Ctrl+C is sometimes ignored on Windows 10's pseudo console
Date: Sat, 30 Oct 2021 16:11:29 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

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    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]