access the terminfo database, like CPAN's Term::Terminfo
1
Version 1.2-1 of Terminfo was uploaded 10 years ago. For lua >= 5.1