-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Option to confirm before closing a tab #9470
Comments
This seems pretty reasonable to me as an optional feature, disabled by default. Perhaps we could even have it as a per-profile setting? So for instance if you have a profile you mostly use for SSH or something important you don't want to accidentally close you could set |
@Nacimota - great idea. @ercius - consider using read-only panes for important stuff (https://docs.microsoft.com/en-us/windows/terminal/customize-settings/actions#mark-a-pane-as-read-only-preview). In addition, there is #3335, suggesting to hide the "x" button to prevent such faulty clicks. |
Ill also check out the read-only panes in Preview and see how they work. Thanks! |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Description of the new feature/enhancement
I accidentally clicked the x on a running Ubuntu terminal (instead of activating that tab) and closed an important ssh session losing all work. There was no confirmation to close the running session.
Can an option to confirm on exit for a single tab be added? There is already an option to confirm when closing many tabs, but not for a single tab.
BTW: Windows Terminal is awesome. Where has this been all my life?
The text was updated successfully, but these errors were encountered: