|
With keypad(...) enabled, getch() will return a code defined in .h as KEY_* macros when a function key is pressed. When ESCAPE is pressed (which can be the beginning of a function key) ncurses will start a one second timer. If the remainder of the keystroke is not finished in this second, the key is returned. Otherwise, the function key value is returned. (If necessary, use notimeout() to disable the second timer).
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 17:57:42