Any way to create a nice choice prompt? #509
Answered
by
ajalt
Jamalam360
asked this question in
Q&A
-
Is there any way to create an option that prompts with a list of options, allowing the user to use the arrow keys to move between the options? So far I've only found Here's a screenshot from Inquirer.js of what I am talking about: Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ajalt
Apr 17, 2024
Replies: 1 comment 2 replies
-
I made my own Mordant |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do that with
transformAll
with something like likeoption().choice().transformAll { it.lastOrNull() ?: MyPrompt().ask() }