bug-ncurses
[Top][All Lists]
Advanced

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

Re: bkgdset change in ncurses 6.0/5.9?


From: Mengyang Li
Subject: Re: bkgdset change in ncurses 6.0/5.9?
Date: Tue, 13 Jun 2017 18:51:21 -0700

I just tested a fresh python3.4 build/link against ncurses 6.0, it's working as expected.

Thanks.

On Tue, Jun 13, 2017 at 6:14 PM, Thomas Dickey <address@hidden> wrote:
On Tue, Jun 13, 2017 at 05:32:40PM -0700, Mengyang Li wrote:
> Hi,
>  I run into a color formatting issue after I updated ncurses to 6.0 on
> gentoo. Here is the python snippet to reproduce the issue.
>
>     stdscr.bkgdset(' ', curses.color_pair(1))
>     stdscr.clear()
>     stdscr.border()
>     stdscr.addstr(1, 1, "text should be in red", curses.color_pair(2))
>                                        \- this text is shown as RED in
> ncurses 5.9, but it's WHITE in 6.0
>
> Is this a known issue? Or an incorrect behavior fixed in 5.9? I've read the
> changelog but I didn't find related change on this. Please advise.

More likely python was built with the 5.9 headers but is using 6.0 libraries
(or the reverse).  Several people have had that problem, building directly
with ncurses 5.9/6.0.

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



--
Best regards,
ᶘ ᵒᴥᵒᶅ
Mengyang Li

reply via email to

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