public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "ALT-F4" does not close terminal when using Command Prompt
@ 2022-03-23 19:06 Mitchell Hentges
  2022-03-24  8:27 ` Takashi Yano
  0 siblings, 1 reply; 2+ messages in thread
From: Mitchell Hentges @ 2022-03-23 19:06 UTC (permalink / raw)
  To: cygwin

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.

-- 
Mitchell Hentges
Engineering Workflow
Mozilla

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "ALT-F4" does not close terminal when using Command Prompt
  2022-03-23 19:06 "ALT-F4" does not close terminal when using Command Prompt Mitchell Hentges
@ 2022-03-24  8:27 ` Takashi Yano
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Yano @ 2022-03-24  8:27 UTC (permalink / raw)
  To: cygwin

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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-24  8:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-23 19:06 "ALT-F4" does not close terminal when using Command Prompt Mitchell Hentges
2022-03-24  8:27 ` Takashi Yano

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).