diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1995-02-15 19:44:08 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1995-02-15 19:44:08 +0000 |
| commit | 895aadbcfb7ef37ab2bb5af7cb66574f8e522a81 (patch) | |
| tree | a7743d34a6549d3bf5ac9aa482d97aaadd19fe2a /gnu/lib/libdialog/inputbox.c | |
| parent | 7f8573b09102c7d0d74c1ace3e0112d7989e6fcb (diff) | |
Notes
Diffstat (limited to 'gnu/lib/libdialog/inputbox.c')
| -rw-r--r-- | gnu/lib/libdialog/inputbox.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/lib/libdialog/inputbox.c b/gnu/lib/libdialog/inputbox.c index b69267f1c950..b552a9a8fc21 100644 --- a/gnu/lib/libdialog/inputbox.c +++ b/gnu/lib/libdialog/inputbox.c @@ -92,6 +92,8 @@ int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int box_x = (width - box_width)/2; draw_box(dialog, y+1, box_x-1, 3, box_width+2, border_attr, dialog_attr); + display_helpline(dialog, height-1, width); + x = width/2-11; y = height-2; print_button(dialog, "Cancel", y, x+14, FALSE); @@ -175,6 +177,10 @@ int dialog_inputbox(unsigned char *title, unsigned char *prompt, int height, int return (button == -1 ? 0 : button); case ESC: break; + case KEY_F(1): + case '?': + display_helpfile(); + break; } } |
