X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3A2C385801D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1635824181; bh=+HhLtK6rz4ECh6b5KCrec+xHAF11BnqXoOaPr16fwLs=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=El0J0AbG2pGYVnyTDA91lnCgihXik5rNA8KNUFurW12+wJa6I3qju5KRnWQpjdpt9 2gB7QPU5lciV70qlgWOe/W5ZbkrL3gBsIIGRBMuOImqIpG/cLLcRvRtnCHzhtm3iE0 ZDrhdgxz3t++MbTAIIDknYe//MhwLqrlm2CXCsXw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 76D813858C60 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 1A23YZJ3011764 X-Nifty-SrcIP: [110.4.221.123] Date: Tue, 2 Nov 2021 12:34:46 +0900 To: cygwin AT cygwin DOT com Subject: Re: Ctrl+C is sometimes ignored on Windows Terminal Message-Id: <20211102123446.6d79fb66643b46187a4a0e73@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Cc: Naoto Aoki Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Mon, 1 Nov 2021 17:33:02 +0900 Naoto Aoki wrote: > When I'm using some programs such as bash and python from cygwin under > Windows Terminal, Ctrl+C is sometimes ignored. > https://github.com/microsoft/terminal > > Normally holding 'Ctrl' and pressing 'C' will make new line. > But, sometimes it does not and unholding 'Ctrl' makes new line under > Windows Terminal. > bash from msys2 does also reproduce this issue. > > I dug into this issue and found that this is related to > readline and Windows 10's pseudo console (ConPTY). > I made simple programs to reproduce this issue. Thanks for the report. I could reproduce your problem and identified the cause. I will submit a patch to fix this issue shortly. -- Takashi Yano -- 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