You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Action?
y - Overwrite
n - Skip
a - Overwrite all
Choice [y]:
The specific use case I have in mind is to have a mix of numbers and letters for options for the prompt- 1, 2, 3, "A", "B", etc. I suppose the same thing could be accomplished with #151 too 😄
I love the gem, btw!
Describe your environment
OS version: macOS 11.2.3
Ruby version: 2.7.2
TTY::Prompt version: 0.23.0
The text was updated successfully, but these errors were encountered:
This feels to me to go against the spirit of expand prompt, e.i. a compact way to express a choice. Though I'll need to think about whether or not the :auto_expand option makes for a desirable change in the context of other prompts. Your needs would probably be much better served by the select prompt. However, as you rightly pointed out the support for specifying keys is not implemented yet. Please feel free to submit PR and let's take it from there.
Are you in the right place?
Describe the problem
I would love to be able to auto bring up the help menu automatically when using the
expand
prompt. For example, something like:would result in:
The specific use case I have in mind is to have a mix of numbers and letters for options for the prompt- 1, 2, 3, "A", "B", etc. I suppose the same thing could be accomplished with #151 too 😄
I love the gem, btw!
Describe your environment
The text was updated successfully, but these errors were encountered: