Skip to content

How Can I Implement An Interactive Prompt #1769

Answered by remkop
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Picocli offers integration with JLine (jline 2 and jline 3) for shell-like interactive interfaces where users type commands.

You may be interested in the Lanterna project, which offers a TUI (text UI), sort of like rendering components like checkboxes, buttons, dialogs etc in a text terminal.

The PromptUI projection you pointed to seems to be a hybrid of these.
I don't know what the state of the art is in this area for Java-based projects/libraries.
I did some research two years ago, and listed my findings in this ticket; it mentions some other libraries doing work on interactive, hybrid and "fluid" consoles. If you find new ones I would appreciate it if you could add links to that ticket…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants