[PR #10423] [MERGED] Don't dispatch the Toggle Command Palette action to keep the just closed Command Palette closed. #28037

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

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10423
Author: @kovdu
Created: 6/14/2021
Status: Merged
Merged: 6/15/2021
Merged by: @undefined

Base: mainHead: 10240-dont-dispatch-action-to-keep-command-palette-closed


📝 Commits (1)

  • 4340db5 Don't dispatch the Toggle Command Palette action to keep the just closed command palette closed.

📊 Changes

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

View changed files

📝 src/cascadia/TerminalApp/CommandPalette.cpp (+7 -1)

📄 Description

An exception was introduced for the 'Toggle Command Palette' action to not being dispatched. Otherwise the command palette that was just closed will become visible again.

PR Checklist

Detailed Description of the Pull Request / Additional comments

  • Selecting the Toggle command palette item in the command palette will now properly close the command palette.
  • Opening and closing the Command Palette through shortcut keys is still working fine.
  • Other command palette items are still working fine as well.

🔄 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/10423 **Author:** [@kovdu](https://github.com/kovdu) **Created:** 6/14/2021 **Status:** ✅ Merged **Merged:** 6/15/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `10240-dont-dispatch-action-to-keep-command-palette-closed` --- ### 📝 Commits (1) - [`4340db5`](https://github.com/microsoft/terminal/commit/4340db5b63d7104d71a75f218a0fba7b0cf560e6) Don't dispatch the Toggle Command Palette action to keep the just closed command palette closed. ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/CommandPalette.cpp` (+7 -1) </details> ### 📄 Description An exception was introduced for the 'Toggle Command Palette' action to **not** being dispatched. Otherwise the command palette that was just closed will become visible again. ## PR Checklist * [x] Closes #10240 * [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA ## Detailed Description of the Pull Request / Additional comments - Selecting the `Toggle command palette` item in the command palette will now properly close the command palette. - Opening and closing the Command Palette through shortcut keys is still working fine. - Other command palette items are still working fine as well. --- <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:25:55 +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#28037