summaryrefslogtreecommitdiffstats
path: root/tailbox.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 13:57:13 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-07-14 13:57:13 +0000
commit94f19e002939203294adf4d18b410183682bd2de (patch)
treea7a2aa04609d71dbb272a5004b5901d78d39dafb /tailbox.c
parent9904759c67ae2ed3f18aef4891fb52900bcfb03f (diff)
downloadFreeBSD-src-94f19e002939203294adf4d18b410183682bd2de.zip
FreeBSD-src-94f19e002939203294adf4d18b410183682bd2de.tar.gz
Import dialog 1.1-20110707. This adds support for several features (e.g.
--hline) found in the old FreeBSD dialog.
Diffstat (limited to 'tailbox.c')
-rw-r--r--tailbox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tailbox.c b/tailbox.c
index 3499b4b..c111f64 100644
--- a/tailbox.c
+++ b/tailbox.c
@@ -1,5 +1,5 @@
/*
- * $Id: tailbox.c,v 1.61 2011/01/16 21:48:16 tom Exp $
+ * $Id: tailbox.c,v 1.63 2011/06/27 08:19:43 tom Exp $
*
* tailbox.c -- implements the tail box
*
@@ -284,6 +284,7 @@ dialog_tailbox(const char *title, const char *file, int height, int width, int b
{
/* *INDENT-OFF* */
static DLG_KEYS_BINDING binding[] = {
+ HELPKEY_BINDINGS,
ENTERKEY_BINDINGS,
DLG_KEYS_DATA( DLGK_BEGIN, '0' ),
DLG_KEYS_DATA( DLGK_BEGIN, KEY_BEG ),
@@ -338,6 +339,7 @@ dialog_tailbox(const char *title, const char *file, int height, int width, int b
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);
if (!bg_task) {
buttons = dlg_exit_label();
OpenPOWER on IntegriCloud