microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
93.92k stars 8.12k forks source link

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

Closed zadjii-msft closed 2 weeks ago

zadjii-msft commented 3 weeks ago
  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