diff options
Diffstat (limited to 'gnu/lib/libdialog/tree.c')
-rw-r--r-- | gnu/lib/libdialog/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/tree.c b/gnu/lib/libdialog/tree.c index f40fb15..031c05b 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; |