[PR #17169] Prevent multiple settings tabs from being persisted #31141

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

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

State: closed
Merged: Yes


Re-add some machinery to special case settings tabs. When we're going to persist a tab that only has a single settings pane in it, we'll now promote that to the first-class "openSettings" action. This will allow our other code in TerminalPage to route multiple settings tabs all to the same tab.

This of course doesn't stop you from opening multiple settings tabs with { "command": {"action": "newTab", "type": "settings"} } actions. If we did that, then that would prevent someone from having a settings pane in the first pane, and a terminal to the right.

Closes #17070

**Original Pull Request:** https://github.com/microsoft/terminal/pull/17169 **State:** closed **Merged:** Yes --- Re-add some machinery to special case settings tabs. When we're going to persist a tab that only has a single settings pane in it, we'll now promote that to the first-class "openSettings" action. This will allow our other code in TerminalPage to route multiple settings tabs all to the same tab. This of course doesn't stop you from opening multiple settings tabs with `{ "command": {"action": "newTab", "type": "settings"} }` actions. If we did that, then that would prevent someone from having a settings pane in the first pane, and a terminal to the right. Closes #17070
claunia added the pull-request label 2026-01-31 09:45:22 +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#31141