From owner-cvs-src-old@FreeBSD.ORG Tue Aug 24 06:31:05 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88BD210656A9 for ; Tue, 24 Aug 2010 06:31:05 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 771428FC1E for ; Tue, 24 Aug 2010 06:31:05 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o7O6V5Ax050671 for ; Tue, 24 Aug 2010 06:31:05 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o7O6V5M0050670 for cvs-src-old@freebsd.org; Tue, 24 Aug 2010 06:31:05 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <201008240631.o7O6V5M0050670@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Tue, 24 Aug 2010 06:30:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/gnu/lib/libdialog checklist.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2010 06:31:05 -0000 imp 2010-08-24 06:30:46 UTC FreeBSD src repository Modified files: gnu/lib/libdialog checklist.c Log: SVN rev 211731 on 2010-08-24 06:30:46Z by imp 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 Revision Changes Path 1.41 +18 -0 src/gnu/lib/libdialog/checklist.c