Describe the problem
Sometimes I'll get a super long list of choices e.g.
import questionary
# This is just a demostration, in my real case
# I'm asking user to select a version of a software
# like `my-software/1.10.2+de12ab67@my-organization/staging`
# which is machine-generated and practically not replacable by raw-string input
choices = [str(x) for x in range(200)]
user_choice = questionary.select("Choose a number", choices).ask()
print(user_choice)
It's too slow to hold an arrow key to move the cursor one-by-one. I'll appreciate if there's a way to quickly scroll through the list.
Describe the solution
Provide a way to quickly scroll through a long list of choices.
The way can be anything making sense, e.g.
- Page Up / Page Down key
- Mouse scroll
- A pager allowing me to directly go to a specific page
Alternatives considered
No response