This library implements (parts) the of old Turbo C "conio.h" See header file for suported functions.
To avoid name conflicts a prefix "c_" was added into the original functions.
Obs: Windows 10 suports console virtual terminal sequences
This fork provides a API for Lua scripts and can be installed with "luarocks".
Download the mod from GitHub, extract the file from the ZIP archive.
Change your directory to conio-master
and install the Lua library with:
luarocks make
For Linux like systems, use:
sudo luarocks make
For the installation of 'luarocks' (if not already available), see luarocks
The library is tested on Linux/Ubuntu so far. It probably won't work under Windows yet...
- "raw mode" functions added to get rid of terminal outputs
- Rework the static function "get_cursor_position" to proper handle accumulated keystrokes
- Add "msleep" function needed for the Lua environment
- Add MIT license headers
- Forked from thradams/conio
- Lua wrapper/API and demo "test.lua" added