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

Allow default without multiple choices #471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mthurman
Copy link

@mthurman mthurman commented Oct 8, 2023

I've got a long list I want someone to choose one item from, but there's already a selected element. That element might be number 50 in a list (and often what the user wants is a nearby option). So instead of starting at the top every time and scrolling, allow default to be used to set the active element in a prompt and if a user just presses enter, they keep the element that was previously selected.

@mthurman mthurman requested a review from a team as a code owner October 8, 2023 09:03
@mthurman
Copy link
Author

I have signed the CLA!

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.

None yet

2 participants