NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/47402: wresize(3) loses window colour attributes

The following reply was made to PR lib/47402; it has been noted by GNATS.

From: Brett Lymn <>
Subject: Re: lib/47402: wresize(3) loses window colour attributes
Date: Sun, 6 Jan 2013 20:58:27 +1030

 On Fri, Jan 04, 2013 at 04:50:05PM +0000, Julian Coleman wrote:
 >  > This behaviour is different in nbcurses to ncurses, which holds the 
 > colour. If this is meant by the sentence "The application must redraw the 
 > window after it has been resized.", it should be clarified more.
 >  > Anyway, it is an incompatibility with ncurses.
 >  > So fixing or documenting this, which is the way to go?
 >  The current code resizes the window but does not retain the contents (not
 >  just colours).  On reflection, this is less useful behaviour and copying
 >  any contents that still fit would be more sensible.
 Losing the contents is OK in my opinion, losing the background attribute
 is not bkgd is supposed to set the window background rendition, this
 should not be reset on resize.
 Brett Lymn
 Staple Guns: because duct tape doesn't make that KerCHUNK sound -

Home | Main Index | Thread Index | Old Index