- 主页 [github.com]
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 Windows.
其他与 libjline2-java 有关的软件包
- dep: libjansi-java (>= 1.16)
- Java library for generating and interpreting ANSI escape sequences