Restoring exited panes should not restart them #22239

Open
opened 2026-01-31 08:07:28 +00:00 by claunia · 1 comment
Owner

Originally created by @lhecker on GitHub (Sep 9, 2024).

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.

Originally created by @lhecker on GitHub (Sep 9, 2024). # 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.
claunia added the Issue-TaskProduct-TerminalArea-TerminalControl labels 2026-01-31 08:07:29 +00:00
Author
Owner

@DHowett commented on GitHub (Sep 11, 2024):

I just had the same thought a couple days ago! We totally should.

@DHowett commented on GitHub (Sep 11, 2024): I just had the same thought a couple days ago! We totally should.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22239