Skip to content

[Feature]: Wave terminal tab close prevention mechanism #2826

Open

Description

@outwebbed

Feature description

While I may be in the minority of users experiencing this...I'm frequently, accidentally closing my Wave terminal tabs when I meant to click over to a different/sibling tab...and there is no prompt asking me if I want to close the terminal tab. This is really frustrating when I have active work/session going on and I accidentally close the tab.

Image

Implementation Suggestion

I'd love if there was a confirmation dialog when closing a tab. Perhaps adding an option/setting in Wave terminal that allows me to enforce / turn-on the dialog/prompt that asks "Yes/No" on closing a terminal tab.

Anything else?

No response

Activity

  1. sawka commented on Feb 5, 2026

    @sawka
    Member

    Quick question. Do you want this behavior on ALL tabs (e.g. a global setting)? Or would it work for you if we added a "protect this tab" feature. And then you got the confirmation only when a tab was explicitly protected?

  2. outwebbed commented on Feb 6, 2026

    @outwebbed
    Author

    I imagine a global setting would be simpler to implement and less fuss all-around? Appreciate the consideration!

  3. added
    maintainer-interestIndicates maintainer interest after review; merge is likely but not guaranteed.
    and removed
    triageNeeds triage
    on Feb 12, 2026
  4. cheparity commented on Feb 12, 2026

    @cheparity

    I imagine a behaviour like vscode. When you close all tabs, you will go to a default blank page (or welcome page) instead of exiting. Only if you clicked the close UI button on the right-top (left-top in mac), you close the app.

    Image
  5. sawka commented on Feb 19, 2026

    @sawka
    Member

    just merged a PR to add a new config option: tab:confirmclose that should fix this. will go out with the next patch release #2893

  6. Scotchester commented on May 4, 2026

    @Scotchester

    Thanks for adding the tab:confirmclose option. I think it would be nice if the default were set to true, for safety by default that can be turned off by anyone who is annoyed by it.

    Alternatively/additionally: An "undo close tab" command would be welcome.

  7. tfurber commented on Oct 10, 2026

    @tfurber

    what about a nag on closing a terminal within a tab?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmaintainer-interestIndicates maintainer interest after review; merge is likely but not guaranteed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions