The suggestions UI is populated with trailing spaces when useCommandline: true #21688

Open
opened 2026-01-31 07:52:06 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (May 10, 2024).

  1. do a shell integration https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/tutorials/shell-integration.md
  2. run commands
  3. (maybe) type some chars, then hit esc to dismiss the prompt.
  4. open sxnui with
         {
             "command":
             {
                 "action": "showSuggestions",
                 "source": "commandHistory",
                 "useCommandline": true
             },
             "id": "User.showSuggestions.807E15EE",
             "keys": "ctrl+shift+h"
         },
    
  5. sxnui is pre-loaded with spaces and
Originally created by @zadjii-msft on GitHub (May 10, 2024). 1. do a shell integration https://github.com/MicrosoftDocs/terminal/blob/main/TerminalDocs/tutorials/shell-integration.md 2. run commands 3. (maybe) type some chars, then hit esc to dismiss the prompt. 4. open sxnui with ```json { "command": { "action": "showSuggestions", "source": "commandHistory", "useCommandline": true }, "id": "User.showSuggestions.807E15EE", "keys": "ctrl+shift+h" }, ``` 5. sxnui is pre-loaded with spaces and
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21688