diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-07-14 14:01:36 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-07-14 14:01:36 +0000 |
commit | 7c690c1aa838ce557a7140db128970d6149b34d6 (patch) | |
tree | 5205a5ffae5e2d9b6ee74c0df561f0dd164f7814 /contrib/dialog/pause.c | |
parent | e54e39a5004441432886ee2a43973c797fafdfd8 (diff) | |
parent | 94f19e002939203294adf4d18b410183682bd2de (diff) | |
download | FreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.zip FreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.tar.gz |
Update dialog to 1.1-20110707.
Diffstat (limited to 'contrib/dialog/pause.c')
-rw-r--r-- | contrib/dialog/pause.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/dialog/pause.c b/contrib/dialog/pause.c index 001753f..c104a70 100644 --- a/contrib/dialog/pause.c +++ b/contrib/dialog/pause.c @@ -1,5 +1,5 @@ /* - * $Id: pause.c,v 1.26 2011/01/18 10:16:33 tom Exp $ + * $Id: pause.c,v 1.29 2011/06/29 09:48:53 tom Exp $ * * pause.c -- implements the pause dialog * @@ -53,6 +53,7 @@ dialog_pause(const char *title, { /* *INDENT-OFF* */ static DLG_KEYS_BINDING binding[] = { + HELPKEY_BINDINGS, ENTERKEY_BINDINGS, DLG_KEYS_DATA( DLGK_ENTER, ' ' ), DLG_KEYS_DATA( DLGK_FIELD_NEXT, KEY_DOWN ), @@ -124,6 +125,7 @@ dialog_pause(const char *title, dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr); dlg_draw_title(dialog, title); + dlg_draw_helpline(dialog, FALSE); wattrset(dialog, dialog_attr); dlg_print_autowrap(dialog, prompt, height, width); @@ -215,7 +217,7 @@ dialog_pause(const char *title, FALSE, width); break; case DLGK_ENTER: - result = dlg_ok_buttoncode(button); + result = dlg_enter_buttoncode(button); break; case DLGK_MOUSE(0): result = DLG_EXIT_OK; |