simple terminal control, like CPAN's Term::ReadKey
$ luarocks install readkey
This module is modelled on the CPAN Term::ReadKey
It provides simple control over terminal driver modes
(cbreak, raw, cooked, etc.), support for non-blocking reads,
and some generalized handy functions for working with terminals.