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
The default choices separator is "/", and there is no way to customise it.
Example
from rich.prompt import Prompt predicate = Prompt.ask( f"[green]Enter the animal name[/green]", choices=["Lion", "Tiger", "Bear", "Giraffe", "Elephant"], case_sensitive=False, show_choices=True )
Otutput
Enter the animal name [Lion/Tiger/Bear/Giraffe/Elephant]:
I would like to customise the separator, for example.
Enter the animal name [Lion, Tiger, Bear, Giraffe, Elephant]:
Or
Enter the animal name [Lion | Tiger | Bear | Giraffe | Elephant]:
The text was updated successfully, but these errors were encountered:
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
No branches or pull requests
The default choices separator is "/", and there is no way to customise it.
Example
Otutput
I would like to customise the separator, for example.
Or
The text was updated successfully, but these errors were encountered: