console input handling in Java


JLine is a Java library for handling console input. It is similar in functionality to BSD editline and GNU readline. People familiar with the readline/editline capabilities for modern shells (such as bash and tcsh) will find most of the command editing features of JLine to be familiar.

Jline2 suppors the current features:

 * Command history - Lines that have been previously entered may be recalled
 and edited and can be persisted so that they are available across sessions
 of your program.
 * Line editing - JLine allows full editing of the current command line and
 attempts to mimic as much of the behavior of GNU Readline as possible,
 including support for both emacs and vi key mappings.
 * Completion - JLine provides a pluggable mechanism for implementing
 command line tab completion (of course completion can be bound to any key
 you wish).
 * Custom Key bindings - Keys may be arbitrarily remapped to perform a
 specific action, and JLine attempts to honor any mapping that is set in
 your existing readline .inputrc file.
 * Character Masking - Input may be gathered from the user without any
 visual feedback. This is useful for prompting for passwords.
 * 99.99% Java - The vast portion of JLine is all Java, using only some
 small bit of native code, provided by the Jansi project, to support

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libjline2-java