diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-07-14 13:57:13 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2011-07-14 13:57:13 +0000 |
commit | 94f19e002939203294adf4d18b410183682bd2de (patch) | |
tree | a7a2aa04609d71dbb272a5004b5901d78d39dafb /tailbox.c | |
parent | 9904759c67ae2ed3f18aef4891fb52900bcfb03f (diff) | |
download | FreeBSD-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |