1
0
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:
Georg Richter
2007-04-11 18:37:15 +00:00
parent a8c1bb45b4
commit ebdffa5ed9
+2 -1
View File
@@ -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);