readline-like library for Java [closed]

2020-02-12 07:05发布

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?)

2条回答
够拽才男人
2楼-- · 2020-02-12 07:25

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.

查看更多
▲ chillily
3楼-- · 2020-02-12 07:43

jruby has an internal readline you could probably call out to.

查看更多
登录 后发表回答