summaryrefslogtreecommitdiff
path: root/ext/ncurses/ncurses.c
diff options
context:
space:
mode:
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);