library for processing of keyboard entry from a terminal
This library allows easy processing of keyboard entry from terminal-based programs. It handles all the necessary logic to recognise special keys, UTF-8 combining, and so on, with a simple interface.
Homepage: http://www.leonerd.org.uk/code/libtermkey/