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



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