How to display options for Select
horizontally?
#295
Answered
by
mikaelmello
AzuxirenLeadGuy
asked this question in
Q&A
-
If I prepare a let options: Vec<&str> = vec![
"Option 1",
"Option 2",
"Choice a",
"Choice b",
];
let ans: Result<&str, InquireError> =
Select::new("What's your choice?", options).prompt(); The options are printed in a column as shown.
But I want to have it printed in a single row (word wrap would be fine), something like
What would be the right way to approach this? |
Beta Was this translation helpful? Give feedback.
Answered by
mikaelmello
Sep 16, 2025
Replies: 1 comment
-
HI @AzuxirenLeadGuy, unfortunately we don't support this today |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mikaelmello
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HI @AzuxirenLeadGuy, unfortunately we don't support this today