[PR #15237] Add support to show close button for active tab only. #30528

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

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

State: closed
Merged: Yes


This MR introduces activeOnly for the showCloseButton theme option causing the close button only to appear on the active tab.

This is more or less following the approach explained here https://github.com/orgs/microsoft/projects/686/views/2?pane=issue&itemId=19775774 which indeed just works 😄 .

You notice when switching theme the close buttons is back on all tabs again as well.

Closes #13672

I didn't check specific unit tests for this. I hope by making this MR the pipeline will show if I broke something. Or just let me know if you want me to add something specific for this.

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15237 **State:** closed **Merged:** Yes --- This MR introduces `activeOnly ` for the `showCloseButton` theme option causing the close button only to appear on the active tab. This is more or less following the approach explained here https://github.com/orgs/microsoft/projects/686/views/2?pane=issue&itemId=19775774 which indeed just works 😄 . You notice when switching theme the close buttons is back on all tabs again as well. Closes #13672 I didn't check specific unit tests for this. I hope by making this MR the pipeline will show if I broke something. Or just let me know if you want me to add something specific for this.
claunia added the pull-request label 2026-01-31 09:41: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#30528