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
What happens: You ask the user to pick from list 1 and he picks something. You ask the user to pick from list 2 (The screen is not refreshed properly)
Expected Behavior: The second time you want the user to pick from a list, the screen should have refreshed.
Reproducible in pick v2.3.1 Not reproducible with previous pick versions.
#!/usr/bin/env python3
from pick import pick
title1 = 'Please choose your favorite programming language: ' title2 = 'Pick your fruit' options1 = ['java', 'python', 'C++', 'Visual Basics', 'Perl'] options2 = ['apple','oranges','watermelon'] option1, index = pick(options1, title1) option2, index = pick(options2, title2)
print(f"What does {option2} have to do with {option1}")
The text was updated successfully, but these errors were encountered:
Thanks for reporting, see #124
Sorry, something went wrong.
clear_screen
Released with v2.3.2.
No branches or pull requests
What happens: You ask the user to pick from list 1 and he picks something. You ask the user to pick from list 2 (The screen is not refreshed properly)
Expected Behavior: The second time you want the user to pick from a list, the screen should have refreshed.
Reproducible in pick v2.3.1
Not reproducible with previous pick versions.
Sample code on python 3.11.5 / pick 2.3.1 to demonstrate.
#!/usr/bin/env python3
from pick import pick
title1 = 'Please choose your favorite programming language: '
title2 = 'Pick your fruit'
options1 = ['java', 'python', 'C++', 'Visual Basics', 'Perl']
options2 = ['apple','oranges','watermelon']
option1, index = pick(options1, title1)
option2, index = pick(options2, title2)
print(f"What does {option2} have to do with {option1}")
The text was updated successfully, but these errors were encountered: