mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
added support for HOME and END key
This commit is contained in:
@@ -98,11 +98,12 @@ PHP_MINIT_FUNCTION(ncurses)
|
||||
PHP_NCURSES_CONST(KEY_UP);
|
||||
PHP_NCURSES_CONST(KEY_LEFT);
|
||||
PHP_NCURSES_CONST(KEY_RIGHT);
|
||||
PHP_NCURSES_CONST(KEY_HOME);
|
||||
PHP_NCURSES_CONST(KEY_END);
|
||||
PHP_NCURSES_CONST(KEY_BACKSPACE);
|
||||
PHP_NCURSES_CONST(KEY_MOUSE);
|
||||
PHP_NCURSES_CONST(KEY_F0);
|
||||
|
||||
|
||||
/* TODO:this macro sux, we have 65 function key,
|
||||
so we need a little loop */
|
||||
PHP_NCURSES_FKEY_CONST(1);
|
||||
|
||||
Reference in New Issue
Block a user