From: Georg Richter Date: Wed, 11 Apr 2007 18:37:15 +0000 (+0000) Subject: added support for HOME and END key X-Git-Tag: php-5.2.2RC2~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebdffa5ed9f04859c115869f3f06af2af41c149e;p=php added support for HOME and END key --- diff --git a/ext/ncurses/ncurses.c b/ext/ncurses/ncurses.c index a2e5ad8072..3ae3fa45ac 100644 --- a/ext/ncurses/ncurses.c +++ b/ext/ncurses/ncurses.c @@ -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);