-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Customize confirmation prompt before exit. #2976
Comments
We'll use this to track the work to connect #1589 to the close button. |
Would be nice if it will be configurable per profile. I don't need confirmation when closing cmd tab, but might need one if I'm using SSH |
I am using the terminal app together with the WLS and R. If I am in a similar situation using Ubuntu the terminal asks if I close a tab that contains a running process. If I have a resting tab with just the command prompt waiting for some input I can close the tab without any questions, but if I have an R or ssh session running I get the confirmation dialogue. I think this would actually be the best way to make everybody kind of happy - right? |
New user here, and am loving the new Windows Terminal. In regards to the 'Prompt on close' Can there please be a 'Remember my answer' option to prevent it from coming up every time if we don't want it to? Or can this be done in the Setting .json file? Thanks in advance! |
You can set |
Thank you!!!! |
This is now "confirmCloseAllTabs" |
Works like a Charm, Thank you sir!
|
Is there a way to always confirm when closing (even with a single tab)? I just hit Alt+F4 by mistake on a Terminal window which was half way through a PowerShell script and wasn't prompted. I'm not sure if there's a way to detect a running action, but ideally it should never exit without prompt while a script or similar is running in the window imho. Huge thanks |
@fgimian sorry for the late reply! I'm working on implementing it right now |
Thank you so much! 😄 |
You’re welcome!
|
ooops, I've closed a tab by mistake. not big work lost, but I was just an ENTER keypress away from starting a long script. |
I've got about 50% of the spec written over in: #6549 (comment). Just needs time to flush that out to a proper doc, and implement it. |
The |
@stiltet Yep, that's all a part of #6549 (comment) |
How about hiding the close X except on the active tab? Typically the ones I accidentally close are not the tab I'm currently active in (because I'm trying to switch tabs). Perhaps if you hover long enough on the tab the X appears, but it seems like it would prevent a lot of accidents if you have to activate the tab first before you can close it. |
@coopstah13 That particular element we're tracking in #3335, namely, #3335 (comment) |
is still still waiting deployment ? I just lost a bunch of work by hitting the x on a tab by mistake (no prompt if i meant it) :( |
Yep. There still hasn't been any progress on formalizing #6549 (comment) nor any work done to actually implement that yet. |
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:
The text was updated successfully, but these errors were encountered: