georg           Wed Apr 11 18:37:16 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/ncurses        ncurses.c 
  Log:
  added support for HOME and END key
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/ncurses/ncurses.c?r1=1.30.2.1.2.2&r2=1.30.2.1.2.3&diff_format=u
Index: php-src/ext/ncurses/ncurses.c
diff -u php-src/ext/ncurses/ncurses.c:1.30.2.1.2.2 
php-src/ext/ncurses/ncurses.c:1.30.2.1.2.3
--- php-src/ext/ncurses/ncurses.c:1.30.2.1.2.2  Fri Jan 12 12:17:32 2007
+++ php-src/ext/ncurses/ncurses.c       Wed Apr 11 18:37:15 2007
@@ -98,11 +98,12 @@
        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);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to