HomeFreeBSD

Create a checklist and call one of the *printw() functions from the
rS211731Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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

Details

Provenance
impAuthored on
Parents
rS211730: Indent things consistently
Branches
Unknown
Tags
Unknown

Event Timeline