microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.82k stars 8.33k forks source link

Restoring exited panes should not restart them #17883

Open lhecker opened 2 months ago

lhecker commented 2 months ago

Description of the new feature/enhancement

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.

DHowett commented 2 months ago

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