Skip to content

When a pane reports [process exited with code ...] the GUI should let you close it without closing the entire tab #11570

@FabioTurati-NTT

Description

@FabioTurati-NTT

Description of the new feature/enhancement

When you use multiple panes in a single tab, and one of them exits with an error code, the pane is "stuck" displaying it. There are only 2 ways to dismiss the error message and close that pane:

  1. Closing the entire tab, which forces the user to also close the other panes. Reopening them can be long and boring (several SSH connections/ADB shells, scripts that must be sourced...)
  2. Using the keyboard shortcut Ctrl + Shift + W, which I can never remember

I have read in your FAQs why that message is kept, and I understand it, but this behaviour ("closeOnExit": "graceful") works fine only if you are using an entire tab, because you can easily close it by clicking on its X, but the GUI doesn't provide a way for closing a single pane.

Proposed technical implementation details (optional)

When the pane is "stuck" on the message displaying the error code, a graphical "X" should appear in its top-right corner. Clicking on it closes the pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Help WantedWe encourage anyone to jump in on these.Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions