summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2007-04-11 18:37:15 +0000
committerGeorg Richter <georg@php.net>2007-04-11 18:37:15 +0000
commitebdffa5ed9f04859c115869f3f06af2af41c149e (patch)
tree11141d63116b2474356a6ad01c3fbcd73d9f77f1 /ext/ncurses/ncurses.c
parenta8c1bb45b4d0094b8f25699266b0f9728b56a768 (diff)
downloadphp-git-ebdffa5ed9f04859c115869f3f06af2af41c149e.tar.gz
added support for HOME and END key
Diffstat (limited to 'ext/ncurses/ncurses.c')
-rw-r--r--ext/ncurses/ncurses.c3
1 files changed, 2 insertions, 1 deletions
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);