freebsd-dev/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
checklist.c Create a checklist and call one of the *printw() functions from the 2010-08-24 06:30:46 +00:00
colors.h
COPYING
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
dir.c
dir.h
fselect.c
gauge.c
help.c
inputbox.c
kernel.c
lineedit.c
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
notify.c
prgbox.c
radiolist.c
raw_popen.c
rc.c
rc.h
README
textbox.c
TODO
tree.c
ui_objects.c
ui_objects.h
yesno.c

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.