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

The display for 'prompt_yes_or_no' will break if the question prompt wraps due to window width. #31

Open
Unordinal opened this issue Oct 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Unordinal
Copy link

Using cutie.prompt_yes_or_no() and entering a long enough string - or just a moderately-sized string and resizing the console window just enough so it wraps - then typing or using the arrow keys to move the selector will completely break the display.

Resizing the window back so the original prompt will fit again will 'fix' the issue, though the duplicated lines will persist.

Input question string for the below was testtesttesttesttesttesttesttesttesttesttesttesttesttest.

image

@Kamik423 Kamik423 added the bug Something isn't working label Oct 15, 2023
@Kamik423 Kamik423 self-assigned this Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants