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/formbox.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/formbox.c')
-rw-r--r-- | contrib/dialog/formbox.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/dialog/formbox.c b/contrib/dialog/formbox.c index 18f2054..7ec798c 100644 --- a/contrib/dialog/formbox.c +++ b/contrib/dialog/formbox.c @@ -1,9 +1,9 @@ /* - * $Id: formbox.c,v 1.71 2010/02/24 10:45:57 Samuel.Martin.Moro Exp $ + * $Id: formbox.c,v 1.73 2011/06/29 09:48:08 tom Exp $ * * formbox.c -- implements the form (i.e, some pairs label/editbox) * - * Copyright 2003-2009,2010 Thomas E. Dickey + * Copyright 2003-2010,2011 Thomas E. Dickey * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License, version 2.1 @@ -433,12 +433,14 @@ dlg_form(const char *title, { /* *INDENT-OFF* */ static DLG_KEYS_BINDING binding[] = { + HELPKEY_BINDINGS, ENTERKEY_BINDINGS, NAVIGATE_BINDINGS, END_KEYS_BINDING }; static DLG_KEYS_BINDING binding2[] = { INPUTSTR_BINDINGS, + HELPKEY_BINDINGS, ENTERKEY_BINDINGS, NAVIGATE_BINDINGS, END_KEYS_BINDING @@ -633,7 +635,7 @@ dlg_form(const char *title, case DLGK_ENTER: dlg_del_window(dialog); - result = (state >= 0) ? dlg_ok_buttoncode(state) : DLG_EXIT_OK; + result = (state >= 0) ? dlg_enter_buttoncode(state) : DLG_EXIT_OK; continue; case DLGK_GRID_LEFT: |