Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How-To Select in multi-selection interface #19

Open
Aierbote opened this issue Nov 8, 2023 · 0 comments
Open

How-To Select in multi-selection interface #19

Aierbote opened this issue Nov 8, 2023 · 0 comments

Comments

@Aierbote
Copy link

Aierbote commented Nov 8, 2023

Is your feature request related to a problem? Please describe.
It took me a while to figure this out and I was this close to open a BugReport issue:

After running add-gitignore I couldn't select any option/"environment" like displayed in the demo.gif with the green "radio-button" dot.

I tried typing macos

 $ add-gitignore
? What environments would your .gitignore to ignore? macos
❯◯ macos

but by pressing Enter I just get prompt out with

? What environments would your .gitignore to ignore?
❯◯ macos
>> You must choose at least one environment to ignore.

suddenly:

  • no green dot
  • macos argument disappered

Luckily the solution I found out is just using spacebar to activate/deactivate the selection.

Describe the solution you'd like
That being said, it would be nice to have a small note in the README.md about the space interaction and it could be also nice, for the visual learners, to display the keypress in the gif too.

Describe alternatives you've considered
There could be even a little note in the message prompted by meow (something concisive like the [Y/n] option in many CLI tools for yes and no questions)

Beside that, I don't know if it could be a big twist to allow even commas , to do the same work of the whitespace to split the input of the multi-selection interface.

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant