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

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

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

State: closed
Merged: Yes


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.
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10423 **State:** closed **Merged:** Yes --- 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.
claunia added the pull-request label 2026-01-31 09:25:56 +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#28042