atlas-engineer / prompter

Live-narrowing, fuzzy-matching, extensible prompt framework.
BSD 3-Clause "New" or "Revised" License
13 stars 1 forks source link

prompt-buffer: do-what-I-mean selection position during a single update #31

Open Ambrevar opened 3 years ago

Ambrevar commented 3 years ago

It's OK to reset the current suggestion when the input changes, but we can do better: if the new input includes the former current suggestion, it should be re-set if the user hasn't changed it in the mean time.

Conversely, some suggestion updates may be slow for a single input change and take multiple "cycles". In this case, the user should be able to set the current suggestion while the suggestions are still updating, and each update cycle should not change the current suggestion.

aadcg commented 1 year ago

If I understood this correctly, we already provide this feature. See the clip below.

https://github.com/atlas-engineer/nyxt/assets/45483512/f05a9913-c4eb-4ffc-9d50-592f45806abc

Ambrevar commented 1 year ago

I'ts not about marking but about the current suggestion.

aadcg commented 1 year ago

I'll update the original post with the new prompt buffer terminology.