NetBSD-Bugs archive

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

Re: lib/55579: [libcurses] inconsistent behaviour of subwindows



On Sun, Aug 16, 2020 at 07:50:00PM +0000, jnaman806%gmail.com@localhost wrote:
> 
> The curses is showing strange behavior, consider a hierarchy of 3 windows; win1, win2, win3 in order. Adding a string in win2, win3 and then refreshing win1 must not reflect changes. These changes can be made possible if sycnok on win2/win3. 
> Current behaviour is: changes made to win2 are reflected and those made to win3 are not.
> 

After careful reading of susv2 I believe that this is the correct behaviour.  The spec says
that a refresh of a window will propagate changes from a sub window to the parent which is
what is being observed.  The syncok call permits changes from a sub window to be propagated
to all ancestors of the sub window instead of just the parent.

-- 
Brett Lymn
--
Sent from my NetBSD device.

"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"


Home | Main Index | Thread Index | Old Index