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
The following reply was made to PR lib/55579; 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
Subject: Re: lib/55579: [libcurses] inconsistent behaviour of subwindows
Date: Sat, 12 Nov 2022 07:56:47 +1030
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