Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2010 06:30:46 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/gnu/lib/libdialog checklist.c
Message-ID:  <201008240631.o7O6V5M0050670@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008240631.o7O6V5M0050670>