After banging my head over this for awhile, I discovered, you must use ncurses_keypad($window, true); to enable the arrow keys and f keys to work correctly.
ncurses_getchDescriptionint ncurses_getch ( void )
add a note
User Contributed Notes
php at kormoc dot com
23-Nov-2005 07:45
After banging my head over this for awhile, I discovered, you must use ncurses_keypad($window, true); to enable the arrow keys and f keys to work correctly.
joeldegan AT yahoo.com
17-Dec-2002 04:29
When using getch to capture KEY_* events remember that the keypad is arranged like this:
pablorNOSPAM at nkstudios dot net
14-Sep-2002 04:40
A custom php ncurses_getstr function.. | ||||||