bug-ncurses
[Top][All Lists]
Advanced

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

Manual entry for panel_hidden incorrect?


From: Benjamin Mordaunt
Subject: Manual entry for panel_hidden incorrect?
Date: Tue, 15 Aug 2023 16:51:24 +0100

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.

Kind regards,
Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]