spectreconsole/spectre.console

Search doesn't work properly in selection prompts

just-a-hriday opened this issue · 1 comments

Information

  • OS: Windows 11
  • Version: 0.49.1
  • Terminal: Windows Terminal

Describe the bug

Clicking space while searching in a selection prompt stops the search and instead selects an option.

To Reproduce

On a selection/multi-selection prompt with search enabled, search for something with a space in it. As soon as you click space, the option you are currently on will get selected and the search will stop.

Expected behavior

Space shouldn't select an option on a prompt with search enabled.


Please upvote 👍 this issue if you are interested in it.

I can confirm this. Should only affect regular selection prompts since i think multi-selection ones don't support search, at the moment.