opnsense-src/gnu/lib/libdialog
Warner Losh b57429d082 Create a checklist and call one of the *printw() functions from the
selected() callback. When the dialog first appears, you will not see
the printed statement on the dialog, if you move down one, you will,
move up again and it now appears. I am assuming that you call a
*printw() function on a line in the dialog box of course.

The fix, from the pr:
	This is a hack at best, I looked at the redraw code in
	dialog_checklist() and took the minimal amount of it out to do
	a simple "refresh" right after the items are drawn. This
	doesn't hurt anything and makes the library work like it
	should. There is probably a better way however =).

PR:		148609
Submitted by:	John Hixson
2010-08-24 06:30:46 +00:00
..
TESTS Make all tests in libdialog compilable. 2010-06-15 10:01:49 +00:00
CHANGES file selector, helpline, helpfile and more, with my fixes 1995-02-15 19:44:08 +00:00
checklist.c Create a checklist and call one of the *printw() functions from the 2010-08-24 06:30:46 +00:00
colors.h Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00
COPYING Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00
dialog.3 Do not place paragraph information post-macro unless required by mdoc(7). 2005-08-20 10:17:03 +00:00
dialog.h Fix stack overflow with too many items return list in 'dialog' program. 2007-08-24 16:26:24 +00:00
dialog.priv.h #include <termios.h> 1999-08-30 08:10:42 +00:00
dir.c Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather 1998-09-10 16:14:29 +00:00
dir.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
fselect.c When wrong directory choosed and chdir failed, directory name 1997-02-18 14:26:24 +00:00
gauge.c Quiet another annoying warning. 2002-09-09 17:44:08 +00:00
help.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
inputbox.c Add another hateful global to libdialog (what the heck, there are already 1996-12-14 16:14:21 +00:00
kernel.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
lineedit.c Add another hateful global to libdialog (what the heck, there are already 1996-12-14 16:14:21 +00:00
Makefile Bump the version of all non-symbol-versioned shared libraries in 2009-07-19 17:25:24 +00:00
menubox.c Test data before using it. 2004-02-26 01:52:39 +00:00
msgbox.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
notify.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
prgbox.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
radiolist.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
raw_popen.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
rc.c Declare more functions externally. 1994-10-20 21:56:45 +00:00
rc.h Make all dialog box available from C programs via functions calls 1994-10-11 23:30:51 +00:00
README Translate README to english. :-) 1994-11-02 00:39:42 +00:00
textbox.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
TODO file selector, helpline, helpfile and more, with my fixes 1995-02-15 19:44:08 +00:00
tree.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00
ui_objects.c When wrong directory choosed and chdir failed, directory name 1997-02-18 14:26:24 +00:00
ui_objects.h Add another hateful global to libdialog (what the heck, there are already 1996-12-14 16:14:21 +00:00
yesno.c Use __FBSDID over rcsid[]. 2003-05-03 21:31:08 +00:00

This library was split out from the `dialog' program for use
in C programs.  For a list of interface functions, see dialog.h.
For usage examples, see the `dialog' program sources in
/usr/src/gnu/usr.bin/dialog.

You can additionally use any ncurses functions after init_dialog().

							Ache.