"ALT-F4" does not close terminal when using Command Prompt

Takashi Yano takashi.yano@nifty.ne.jp
Thu Mar 24 08:27:52 GMT 2022


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>


More information about the Cygwin mailing list