summaryrefslogtreecommitdiffstats
path: root/contrib/dialog/yesno.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 14:01:36 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 14:01:36 +0000
commit7c690c1aa838ce557a7140db128970d6149b34d6 (patch)
tree5205a5ffae5e2d9b6ee74c0df561f0dd164f7814 /contrib/dialog/yesno.c
parente54e39a5004441432886ee2a43973c797fafdfd8 (diff)
parent94f19e002939203294adf4d18b410183682bd2de (diff)
downloadFreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.zip
FreeBSD-src-7c690c1aa838ce557a7140db128970d6149b34d6.tar.gz
Update dialog to 1.1-20110707.
Diffstat (limited to 'contrib/dialog/yesno.c')
-rw-r--r--contrib/dialog/yesno.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/dialog/yesno.c b/contrib/dialog/yesno.c
index c666154..4efb073 100644
--- a/contrib/dialog/yesno.c
+++ b/contrib/dialog/yesno.c
@@ -1,9 +1,9 @@
/*
- * $Id: yesno.c,v 1.49 2010/01/15 10:54:54 tom Exp $
+ * $Id: yesno.c,v 1.51 2011/06/27 08:20:57 tom Exp $
*
* yesno.c -- implements the yes/no box
*
- * Copyright 1999-2009,2010 Thomas E. Dickey
+ * Copyright 1999-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
@@ -35,6 +35,7 @@ dialog_yesno(const char *title, const char *cprompt, int height, int width)
{
/* *INDENT-OFF* */
static DLG_KEYS_BINDING binding[] = {
+ HELPKEY_BINDINGS,
ENTERKEY_BINDINGS,
DLG_KEYS_DATA( DLGK_ENTER, ' ' ),
DLG_KEYS_DATA( DLGK_FIELD_NEXT, KEY_DOWN ),
@@ -89,6 +90,7 @@ dialog_yesno(const char *title, const char *cprompt, int height, int width)
dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr);
dlg_draw_bottom_box(dialog);
dlg_draw_title(dialog, title);
+ dlg_draw_helpline(dialog, FALSE);
wattrset(dialog, dialog_attr);
OpenPOWER on IntegriCloud