Many people moving from Windows programming to UNIX programing have problems with the missing non-blocking getch() and getche() functions provided by conio.h. This library provides the functionality of getch(), getche() and kbhit() on UNIX and Linux systems (including Mac OS X). It does not require an initialization (like curses) and does not abuse the terminal (i.e. whenever the mode of the terminal is changed its state is stored so it can be restored).
Current version 0.3.1, see the change log |
Download |