AlecAivazis / survey

A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
MIT License
4.08k stars 351 forks source link

Prompt Suggestion - Keyboard shortcut selection #261

Open brandonkal opened 4 years ago

brandonkal commented 4 years ago

Support prompts looked this: Should we continue? (Y)es (N)o (D)etails

Where pressing Y immediately select yes.

AlecAivazis commented 4 years ago

Hey @brandonkal - thanks for the suggestion.

I can definitely see the value of a prompt. Just curious, would this list be filterable? If so, how do you distinguish between applying filters and selecting an option?