We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug When using the confirm field in accessible mode, user gets prompted to:
Choose [y/N]:
But when pressing enter, I was expecting the N choice to apply whereas I get:
Choose [y/N]: invalid input. please try again Choose [y/N]:
Looking at the code parseBool in accessibility.go expects exactly one of "y,", "yes","n" or "no". So the default value does not apply.
parseBool
accessibility.go
The text was updated successfully, but these errors were encountered:
WDYGT?
Thanks
Sorry, something went wrong.
Also running into this 😢
fix(accessibility): parseBool defaults to no
8d1ca31
Matching the prompt of "Choose [y/N]:" default is now equal to N. Resolves charmbracelet#264
fix(accessibility): parseBool defaults to no (#442)
2522a15
Matching the prompt of "Choose [y/N]:" default is now equal to N. Resolves #264
Successfully merging a pull request may close this issue.
Describe the bug
When using the confirm field in accessible mode, user gets prompted to:
Choose [y/N]:
But when pressing enter, I was expecting the N choice to apply whereas I get:
Looking at the code
parseBool
inaccessibility.go
expects exactly one of "y,", "yes","n" or "no". So the default value does not apply.The text was updated successfully, but these errors were encountered: