Luart
Comprehensive Windows framework to develop in Lua
modules > console > readchar

console.readchar ( )

Reads a key from the console and returns a corresponding character if possible. That function can read special keys (Function keys, arrows...).

Return value

Returns two values :