bug-ncurses
[Top][All Lists]
Advanced

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

bkgdset change in ncurses 6.0/5.9?


From: Mengyang Li
Subject: bkgdset change in ncurses 6.0/5.9?
Date: Tue, 13 Jun 2017 17:32:40 -0700

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.


full script: https://pastebin.com/VAJqZhhg
6.0: https://pasteboard.co/ieG8fnEJ5.png
5.9: https://pasteboard.co/ieGU4ZdGB.png

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

reply via email to

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