Terminal: Make Alt+F4 work and warn the user about terminating more than one tab

Created on 25 Jun 2019  路  4Comments  路  Source: microsoft/terminal

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.175]
Windows Terminal version (if applicable): 0.2.1715.0

Steps to reproduce

Start The terminal app, try to close it using Alt + F4

Expected behavior

The app should close

Actual behavior

The app doesn't close, which is inconsistent with 99% of windows apps

Area-User Interface Issue-Task Product-Terminal Resolution-Fix-Available

Most helpful comment

This is now the tracking issue for getting alt+f4 working and adding a dialog to stop users from harming their running session state.

All 4 comments

On Second Thought.
PowerShell and WSL individually don't close on alt+f4 as they don't have it set for the task. Windows Terminal shows it has alt+f4 set to close but it doesn't work. perhaps they are trying to make it consistent with the rest two.

This is now the tracking issue for getting alt+f4 working and adding a dialog to stop users from harming their running session state.

It would also be nice if there was an option to prompt the user about closing a tab that has a running program. For example, running a development server of some kind in a tab in interactive mode (vs. daemon mode) is often a development workflow for all sorts of apps (Angular CLI, webpack-based apps, Node apps etc.) these days.

This was fixed by #2526.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghvanderweg picture ghvanderweg  路  3Comments

dev-logan picture dev-logan  路  3Comments

NickITGuy picture NickITGuy  路  3Comments

mrmlnc picture mrmlnc  路  3Comments

Wid-Mimosa picture Wid-Mimosa  路  3Comments