[PR #17269] Backport session persistence fixes in #17211 and #17268 #31174

Open
opened 2026-01-31 09:45:34 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/17269

State: closed
Merged: Yes


As the title says, this backports the changes in #17211 and #17268:

  • PersistState being called when the window is closed
    (as opposed to closing the tab). The settings check was missing.
  • Avoid persisting windows with 0 tabs (= last tab gets closed).
**Original Pull Request:** https://github.com/microsoft/terminal/pull/17269 **State:** closed **Merged:** Yes --- As the title says, this backports the changes in #17211 and #17268: * `PersistState` being called when the window is closed (as opposed to closing the tab). The settings check was missing. * Avoid persisting windows with 0 tabs (= last tab gets closed).
claunia added the pull-request label 2026-01-31 09:45:34 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31174