[PR #14943] Add support for opening the Suggestions UI with recent commands #30317

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

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

State: closed
Merged: Yes


⚠️ targets #14938 ⚠️

This adds support for a new action, showSuggestions, as described in #14864. This adds just one source currently, recentCommands. This requires shell integration to be enabled in the shell to work properly. When it is enabled, activating that action will invoke the suggestions UI as a palette, populated with sendInput actions for each of the user's recent commands.

  • These don't persist across reboots.
  • These are per-control.

There's mild plans to remedy that in a follow-up, though that needs a bit more design consideration.

Closes #14779

gh-14779-recent-commands-for-pr

**Original Pull Request:** https://github.com/microsoft/terminal/pull/14943 **State:** closed **Merged:** Yes --- _⚠️ targets #14938 ⚠️_ This adds support for a new action, `showSuggestions`, as described in #14864. This adds just one `source` currently, `recentCommands`. This requires shell integration to be enabled in the shell to work properly. When it is enabled, activating that action will invoke the suggestions UI as a palette, populated with `sendInput` actions for each of the user's recent commands. * These don't persist across reboots. * These are per-control. There's mild plans to remedy that in a follow-up, though that needs a bit more design consideration. Closes #14779 ![gh-14779-recent-commands-for-pr](https://user-images.githubusercontent.com/18356694/222550835-f254198f-202f-4f1b-950f-19d1c868bfa7.gif)
claunia added the pull-request label 2026-01-31 09:40:02 +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#30317