Which readline-like library for Java do you use? By 'readline' like library I mean library for editing console input, with support for history, tab-completion, and stuff like this. I'm looking for one, and I cannot choose from so many choices (jLine -- unmaintained, java-readline -- last release on 2003, others?)
readline-like library for Java [closed]
Asked Answered
Should be community wiki –
Foregone
Community wiki police strikes again! –
Saskatchewan
I've used JLine to add history, etc. to a Clojure REPL (JVM process) when executed from the command line. It just magically worked and worked well, so I never bothered to investigate anything else.
Thank you for answer. jLine looks good except it is abandoned. I will give it a try and hope for not running into issues :) –
Saskatchewan
It seems that Sonatype guys have custom version of JLine (github.com/jdillon/jline2) –
Saskatchewan
jline3 is the successor to jline, and it is alive and well: github.com/jline/jline3 –
Handball
jruby has an internal readline you could probably call out to.
© 2022 - 2024 — McMap. All rights reserved.