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

Repeat question prompts on unexpected input #1880

Open
3hhh opened this issue Dec 25, 2024 · 0 comments
Open

Repeat question prompts on unexpected input #1880

3hhh opened this issue Dec 25, 2024 · 0 comments

Comments

@3hhh
Copy link
Contributor

3hhh commented Dec 25, 2024

Is your feature request related to a problem? Please describe.

Currently unexpected input on question prompts leads to heads choosing the default option.

This is often unintended by the user, who may e.g. use a non-US keyboard, hit y on the first question prompt, but receives some other character as result. If the default is n, heads continues, forcing the user to reboot to make the correct choice.

Describe the solution you'd like

Only allow y/n/return (case insensitive) and repeat the previous question prompt in all other cases.

Describe alternatives you've considered

Keyboard layout support may come later and users make mistakes / accidentally hit the wrong button even with that.

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