Skip to content

Restoring exited panes should not restart them #17883

Open
@lhecker

Description

@lhecker

Description of the new feature/enhancement

  • Have session persistence enabled
  • Have a pane that has exited but wasn't closed, because the termination behavior is "never", etc.
  • Restart Windows Terminal
  • Suddenly all those tabs are running again

We should avoid restarting such tabs.

Proposed technical implementation details (optional)

The state.json should store whether a pane has exited. If it had then it should not restart it automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalControlIssues pertaining to the terminal control (input, selection, keybindings, mouse interaction, etc.)Issue-TaskIt's a feature request, but it doesn't really need a major design.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions