I would like to write a Java terminal application that does screen manipulation. Are there any good libraries out there that allow you to manipulate the screen like curses in the *nix/C world?
Minimal features I'm looking for are windowing and user input support.
In feature-speak, I'd like to have a region of the terminal where some data is regularly updated while (at the same time) the user can enter commands/text in some other part of the screen.
Ncurses is a programming library providing an API, allowing the programmer to write text-based user interfaces, Text User Interface (TUI), in a terminal-independent manner. It also optimizes screen changes, in order to reduce the latency experienced when using remote Unix shell.
To use ncurses library functions, you have to include ncurses. h in your programs. To link the program with ncurses the flag -lncurses should be added.
I found the lanterna library recently. Haven't had the opportunity to use it yet but it looks like a more up-to-date alternative to the others.
There is Charva, which links to native code but has an api based on Swing. The screenshots show lots of text windows, so that looks useful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With