erikgeiser / promptkit

Go prompt library
MIT License
249 stars 21 forks source link

Allow to browse suggestions in textinput #30

Open hlubek opened 7 months ago

hlubek commented 7 months ago

It would be nice to have a way to browse suggestions when AutoComplete is used.

The autocomplete key binding could be used to browse through multiple suggestions and show them as possible values. One inspiration could be zsh where tabbing again will start to browse through possible suggestions.

Or a list could be shown below the input with cursor keys up/down scrolling through the results and enter accepting a suggestion as the current input.