[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Manual entry for panel_hidden incorrect?
From: |
Thomas Dickey |
Subject: |
Re: Manual entry for panel_hidden incorrect? |
Date: |
Tue, 15 Aug 2023 15:26:30 -0400 |
On Tue, Aug 15, 2023 at 04:51:24PM +0100, Benjamin Mordaunt wrote:
> Hi,
>
> I was reading the man page for ncurses in man/panel.3x and noticed the
> following:
>
> panel_hidden(pan) returns TRUE if the panel pan is in the panel
> stack, FALSE if it is not. If the panel is a null pointer,
> return ERR.
>
> Surely that is backwards - if the panel is hidden, it should return
> TRUE if the panel is _not_ in the panel stack. In fact, looking at the
> implementation in ncurses, it looks like the code agrees with me.
agreed - my error (it seems that I documented this in 20070512, while
adding a feature to the test program).
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
signature.asc
Description: PGP signature