$ luarocks install plterm
The module includes basic functionnalities to display
strings in various colors, move the cursor, erase lines,
read keys (including arrows and function keys) and set
the terminal in raw mode.
It does not use ncurses, terminfo or termcap. It uses only
very common ANSI sequences that are supported by
(at least) the Linux console, xterm and rxvt.
Versions
Dependencies
lua >= 5.3