* win.c (check_movement_keys): Add support for Ctrl-PgDown,

Ctrl-PgUp, Ctrl-Home and Ctrl-End.
This commit is contained in:
Pavel Roskin 2003-10-27 05:59:03 +00:00
parent bc455d5840
commit 2bf7ae1b6c
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-27 Pavel Roskin <proski@gnu.org>
* win.c (check_movement_keys): Add support for Ctrl-PgDown,
Ctrl-PgUp, Ctrl-Home and Ctrl-End.
2003-10-26 Pavel Roskin <proski@gnu.org>
* terms.c: Merge ...

View File

@ -64,12 +64,16 @@ check_movement_keys (int key, int page_size, void *data, movefn backfn,
break;
case KEY_HOME:
case KEY_M_CTRL | KEY_HOME:
case KEY_M_CTRL | KEY_PPAGE:
case KEY_A1:
case ALT ('<'):
(*topfn) (data, 0);
break;
case KEY_END:
case KEY_M_CTRL | KEY_END:
case KEY_M_CTRL | KEY_NPAGE:
case KEY_C1:
case ALT ('>'):
(*bottomfn) (data, 0);