public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Takashi Yano <takashi.yano@nifty.ne.jp>
To: cygwin@cygwin.com
Subject: Re: "ALT-F4" does not close terminal when using Command Prompt
Date: Thu, 24 Mar 2022 17:27:52 +0900	[thread overview]
Message-ID: <20220324172752.482440126e4a72db6ee3b3f4@nifty.ne.jp> (raw)
In-Reply-To: <CAAvot8_KNGUMFZ-f7yO-hrEDifAAha8+ojQtcE22DW-P-ss12A@mail.gmail.com>

On Wed, 23 Mar 2022 15:06:41 -0400
Mitchell Hentges wrote:
> To reproduce the issue:
> 1. Run Cygwin.bat to open a Cygwin shell in the "Command Prompt" terminal
> 2. Click the "ALT-F4" keyboard combination
> 
> The Cygwin terminal should close (ideally allowing the shell to do cleanup,
> such as writing to its history file).
> However, instead, a "ding" is sounded, but the terminal remains open.

This behaviour is by design. Alt-F4 generates "ESC [1;3S" just
like xterm without modern window manager.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

      reply	other threads:[~2022-03-24  8:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 19:06 Mitchell Hentges
2022-03-24  8:27 ` Takashi Yano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220324172752.482440126e4a72db6ee3b3f4@nifty.ne.jp \
    --to=takashi.yano@nifty.ne.jp \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).