diff options
author | Eric Melville <eric@FreeBSD.org> | 2001-07-26 03:34:43 +0000 |
---|---|---|
committer | Eric Melville <eric@FreeBSD.org> | 2001-07-26 03:34:43 +0000 |
commit | b48baf886ac27dad07a076005ec006a0a8b0a42e (patch) | |
tree | 5bdfeb1ad322a31233126f5e4281339a43f4834f | |
parent | 28b975bf3da664e26af654e479526226b516f870 (diff) |
Notes
-rw-r--r-- | gnu/lib/libdialog/textbox.c | 3 | ||||
-rw-r--r-- | gnu/lib/libdialog/tree.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/gnu/lib/libdialog/textbox.c b/gnu/lib/libdialog/textbox.c index a617ac8a9ce94..bfbf81bd3811f 100644 --- a/gnu/lib/libdialog/textbox.c +++ b/gnu/lib/libdialog/textbox.c @@ -291,7 +291,8 @@ int dialog_textbox(unsigned char *title, unsigned char *file, int height, int wi wrefresh(dialog); } break; - case ' ': /* Next page */ + case 'F': /* Next page */ + case 'f': case KEY_NPAGE: if (!end_reached) { begin_reached = 0; diff --git a/gnu/lib/libdialog/tree.c b/gnu/lib/libdialog/tree.c index f40fb159e7fe4..031c05bb84520 100644 --- a/gnu/lib/libdialog/tree.c +++ b/gnu/lib/libdialog/tree.c @@ -383,6 +383,7 @@ int dialog_treemenu(unsigned char *title, unsigned char *prompt, switch (key) { case KEY_PPAGE: + case 'B' : case 'b' : if (scroll > menu_height) { /* can we go up? */ scroll -= (menu_height); @@ -392,6 +393,7 @@ int dialog_treemenu(unsigned char *title, unsigned char *prompt, redraw_menu = TRUE; break; case KEY_NPAGE: + case 'F' : case 'f' : if (scroll + menu_height >= item_no-1 - menu_height) { /* can we go down a full page? */ scroll = item_no - menu_height; |