How to prevent closing the tab accidentally ? #20169
Replies: 4 comments 4 replies
|
I asked Claude to update the settings json that hides the close button. I could not remember what settings. You can try AI agent to help you. Although it looks a bit ugly but better than accidentally close one. |
|
I think an optional "Confirm before closing tab" setting would make sense. |
|
You can hide the tab close button in Windows Terminal settings to reduce accidental tab closures. |
|
The |

showCloseButtonInTabdidn't work somehow, then I asked Claude and it did this:and it worked, for now this is a great solution!