$ luarocks install org.conman.parsers.utf8.ctrl
This returns an LPEG expression to convert a UTF-8 control character to its name and
any associated data. For example, the following sequence:
<ESC>[32;40m
will return "SGR" and a table with two elements, 32 and 40. See the
ECMA-48 standard for more information about these control codes.
Versions
Dependencies
LPeg >= 1.0.0
lua >= 5.1, <= 5.4
org.conman.parsers.ascii.char >= 1.0.0
org.conman.parsers.utf8.char >= 1.0.0