close button don't work for 3.8.0.3
less often happen in 3.8.0 but now more likely to happen in 3.8.0.3
- open wsltty
- stay in command line
- press the close button, (expect the window close but it stay open)
- type something it seems to accept input, but it's actually no, press ENTER won't execute the command
check in procexp.exe
expected:
actual:
windows 10 conhsot: 1.23.2507.29002
Is that on Windows 10?
Is that on Windows 10?
yes
Press Shift while clicking on the Close button to force closing the terminal. For normal closing, mintty sends a KILL signal to the child application (normally a shell), which would then terminate, thus closing the pty terminal communication, thus in turn causing mintty itself to terminate.
Since 3.8.0, wsl.exe is used by default to run WSL (instead of wslbridge2 as before). The point is this is a Windows program, not a cygwin program, so its response to POSIX-like signals is apparently differrent. Well, it works in Windows 11 but they may have changed something. Mintty could in fact check WSL mode and always force-close in that case...
If Control+Shift+letter shortcuts are enabled, also Ctrl+Shift+W would close.