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

Choices wrapping to the next line breaks the visuals #42

Open
ZachAndrews98 opened this issue Apr 9, 2019 · 0 comments
Open

Choices wrapping to the next line breaks the visuals #42

ZachAndrews98 opened this issue Apr 9, 2019 · 0 comments

Comments

@ZachAndrews98
Copy link

Really like this library but not sure if this is something that can be fixed or has even been thought about. If a choice in a Check (have yet to try with other classes) is longer than the terminal window and causes word wrapping then the visuals for selecting a choice breaks. I can't easily describe exactly what this looks like or paste the output from the terminal in this issue, so here is a screenshot of my terminal when this occurs.

wrap1

Here there are 5 options, the last of which is obviously the one that is causing the issue

  • test1

  • test2

  • test3

  • test4

  • This line is going to be extra long to demonstrate the issue with choices wrapping to another line.

The weird visual above, that occurs first, is from attempting to move the cursor down the list and the test4->test1 that gets printed into the terminal is from trying to move the cursor back up the list.

This is a purely visual issue and does not effect selecting an item as that is still possible (albeit a little more difficult) to do and have it return the correct choice.

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

No branches or pull requests

1 participant