[PR #13649] Fix _isDefTermSession not propagating upon pane split/close #29683

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

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

State: closed
Merged: Yes


Summary of the Pull Request

In #13560 we added a member to Pane that lets it know if it was spawned as a default terminal session, but did not propagate that value when the pane gets split or when the pane closes. This commit fixes that.

Validation Steps Performed

A session spawned by a def term invocation remembers it even as it goes through splits

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13649 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request In #13560 we added a member to `Pane` that lets it know if it was spawned as a default terminal session, but did not propagate that value when the pane gets split or when the pane closes. This commit fixes that. ## Validation Steps Performed A session spawned by a def term invocation remembers it even as it goes through splits
claunia added the pull-request label 2026-01-31 09:36:17 +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#29683