[PR #15198] Added Close Pane to Context Menu #30496

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

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

State: closed
Merged: Yes


Summary of the Pull Request

Adding a 'Close Pane' menu item in the context menu.

References and Relevant Issues

#13580

Detailed Description of the Pull Request / Additional comments

If a user decides to split a tab to create multiple panes through the context menu, they should be able to then close the pane via the context menu too. This PR introduces a new context menu item, 'Close Pane', that only appears when a user has 2 or more panes in a tab. When a user clicks close pane, the _active_pane will be closed.

Validation Steps Performed

close_pane_terminal

As it's my first PR, I still need to understand how to go through the testing suite.

PR Checklist

**Original Pull Request:** https://github.com/microsoft/terminal/pull/15198 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request Adding a 'Close Pane' menu item in the context menu. ## References and Relevant Issues #13580 ## Detailed Description of the Pull Request / Additional comments If a user decides to split a tab to create multiple panes through the context menu, they should be able to then close the pane via the context menu too. This PR introduces a new context menu item, 'Close Pane', that only appears when a user has 2 or more panes in a tab. When a user clicks close pane, the _active_pane will be closed. ## Validation Steps Performed ![close_pane_terminal](https://user-images.githubusercontent.com/98557455/232649000-8b521070-4f1b-4da9-8092-6ff802e91e2c.gif) As it's my first PR, I still need to understand how to go through the testing suite. ## PR Checklist - [x] Closes #13580 - [ ] Tests added/passed - [ ] Documentation updated - If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx - [ ] Schema updated (if necessary)
claunia added the pull-request label 2026-01-31 09:41:11 +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#30496