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

Option text wrapping for SelectionPrompt<T> and MultiSelectionPrompt<T> #1577

Open
yymqn opened this issue Jul 1, 2024 · 0 comments · May be fixed by #1578
Open

Option text wrapping for SelectionPrompt<T> and MultiSelectionPrompt<T> #1577

yymqn opened this issue Jul 1, 2024 · 0 comments · May be fixed by #1578

Comments

@yymqn
Copy link
Contributor

yymqn commented Jul 1, 2024

Is your feature request related to a problem? Please describe.
When using SelectionPrompt<T> or MultiSelectionPrompt<T>, I sometimes use longer strings, that either wrap or have multiple lines. IMO, these two prompts look bad when one option has to be wrapped to a new line.

Describe the solution you'd like
Properly wrapping option text. So, instead of just wrapping it to a new line, make sure the left position will remain the same as in the beginning. (you can see what I mean on the screenshot of the PR)

Describe alternatives you've considered
I have no idea about any alternative as it's just a detail.

I've created a simple PR for this issue. #1578


Please upvote 👍 this issue if you are interested in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo 🕑
1 participant