Add confirmation prompt when closing a tab #648
Gandalf-Le-Dev
started this conversation in
Ideas
Replies: 3 comments
|
Made this simple plugin that opens a confirmation when you close a pane, similar to tmux: https://github.com/poweroutlet2/herdr-confirm-close-pane It would be great if this was a built in option though. |
0 replies
|
Also worth covering the mouse path: the tab context menu's Close item destroys the tab the same way, so a guard on the close-tab keybinding alone would still leave this open. Each of my tabs holds a running Claude Code agent, and losing one costs the whole session. |
0 replies
|
+1 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
Pressing close tab terminates the tab and its running process with no confirmation prompt.
requested change
A config option such as:
[ui]
confirm_close_tab = true
When enabled, pressing close tab, shows a confirmation prompt before closing, consistent with the existing confirm_close behavior for workspaces.
why you want this
Tabs frequently contain live processes — running servers, builds, log tails, AI agent. A single accidental keypress destroys that context with no recovery. The workspace-level guard (confirm_close) already exists and proves the pattern works; tabs need the same protection.
All reactions