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: Thomas Dickey
Subject: Re: bkgdset change in ncurses 6.0/5.9?
Date: Tue, 13 Jun 2017 21:14:44 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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