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

Treat empty input as default suggested by prompt #116

Merged
merged 1 commit into from
Nov 30, 2021

Conversation

loganlinn
Copy link
Contributor

The prompt,Do you want to continue? [Y/n], uses conventional notation where capitalized letter is default option.
Empty input line results in Command aborted which is unexpected behavior to user.
This change treats empty string the same as "y"

The prompt,`Do you want to continue? [Y/n]`, uses conventional notation where capitalized letter is default option.
Empty input line results in `Command aborted` which is unexpected behavior to user.
This change treats empty string the same as `"y"`
@marcosnils
Copy link
Owner

Empty input line results in Command aborted which is unexpected behavior to user.

Good catch, thx for the input

@marcosnils marcosnils merged commit 9aa08f2 into marcosnils:master Nov 30, 2021
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

Successfully merging this pull request may close these issues.

2 participants