[PR #8903] [MERGED] Allow ClosePane to close the Settings UI #27332

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/8903
Author: @carlos-zamora
Created: 1/26/2021
Status: Merged
Merged: 1/26/2021
Merged by: @undefined

Base: mainHead: dev/cazamor/sui/accept-close-pane


📝 Commits (1)

  • 674d481 Allow ClosePane to close the Settings UI

📊 Changes

1 file changed (+8 additions, -1 deletions)

View changed files

📝 src/cascadia/TerminalApp/TerminalPage.cpp (+8 -1)

📄 Description

This is an extension of #8885. A lot of users have grown accustomed to
using closePane to close a tab. This adds closePane to the list of
keybindings accepted by #8885, and modifies the closePane code to
close the Settings UI if we are in a SettingsTab.

References

#6800: Settings UI Epic
#8885: PR - Settings UI should respect key bindings (temporary solution)
#8882: Issue - Settings UI should respect key bindings


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/8903 **Author:** [@carlos-zamora](https://github.com/carlos-zamora) **Created:** 1/26/2021 **Status:** ✅ Merged **Merged:** 1/26/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/cazamor/sui/accept-close-pane` --- ### 📝 Commits (1) - [`674d481`](https://github.com/microsoft/terminal/commit/674d481ed90d459a22c581172416ebf1b4c9fba3) Allow ClosePane to close the Settings UI ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/TerminalPage.cpp` (+8 -1) </details> ### 📄 Description This is an extension of #8885. A lot of users have grown accustomed to using `closePane` to close a tab. This adds `closePane` to the list of keybindings accepted by #8885, and modifies the `closePane` code to close the Settings UI if we are in a `SettingsTab`. ## References #6800: Settings UI Epic #8885: PR - Settings UI should respect key bindings (temporary solution) #8882: Issue - Settings UI should respect key bindings --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:21:23 +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#27332