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 <blymn%internode.on.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost, gnrp%komkon2.de@localhost
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 - xkcd.com
 


Home | Main Index | Thread Index | Old Index