microsoft / microsoft/terminal
Feature Request: Customize confirmation prompt before exit.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
Feature request: A confirmation prompt before terminal app exit.
For example, if there are multiple tabs open, upon initiation of exit a prompt to confirm or cancel exit.
Particularly with the case when multiple tabs open, prompting the user to think before closing multiple tabs may prevent a accidental loss of work/processing in tabs that are not in the foreground.
Perhaps make the prompt configurable in settings with the options:
- disabled (no prompt before exit)
- multiple (prompt if multiple tabs open)
- always (prompt always before exit - for a check before closing even a single open tab)
- #6641 add a "remember" checkbox
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing how exit is initiated and how terminal settings are defined, then determine where the disabled, multiple-tabs, and always-prompt modes belong. Done means the confirmation behavior is configurable and prevents accidental closure as described, with the remember option considered alongside #6641.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100