bug-ncurses
[Top][All Lists]
Advanced

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

Re: PANEL doesn't work with libncursesw5


From: Thomas Dickey
Subject: Re: PANEL doesn't work with libncursesw5
Date: Sun, 19 Aug 2018 17:02:45 -0400
User-agent: Mutt/1.5.23 (2014-03-12)

On Fri, Aug 17, 2018 at 10:02:52PM +0300, Иван wrote:
> Hello!
> When libncursesw5-dev 6.0+20161126 is used and creates PANEL, most of

That's old (but shouldn't make any difference).

The current version of ncurses is 6.1 (20180127)
There's an faq at
        https://invisible-island.net/ncurses/ncurses.faq.html

> the window (that panel uses) just disappears.
> But absolutely the same code that uses libncurses5-dev 6.0+20161126, works 
> fine.
> (debian 9)
> For example:
> 
> int main()
> {
>     initscr();
>     WINDOW *w = newwin(10, 20, 1, 1);
>     box(w, 0, 0);
>     PANEL *p = new_panel(w);
>     update_panels();
>     doupdate();
>     getch();
>     endwin();
> }
> With "-lncurses" the border will appear, but with "-lncursesw" - it
> will not appear.

I just tested this with 6.1 (20180819), and a box shows using -lncursesw

-- 
Thomas E. Dickey <address@hidden>
https://invisible-island.net
ftp://ftp.invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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