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:
always (prompt always before exit - for a check before closing even a single open tab)
[ ] #6641 add a "remember" checkbox
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 confirmCloseOnExit to false. Check out the documentation! :smile:
You can set
confirmCloseOnExittofalse. Check out the documentation! 馃槃
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
Fotis
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
Fotis
@fgimian sorry for the late reply! I'm working on implementing it right now
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
Fotis@fgimian sorry for the late reply! I'm working on implementing it right now
Thank you so much! 馃槃
You鈥檙e welcome!
Most helpful comment
@fgimian sorry for the late reply! I'm working on implementing it right now