This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author maarten
Recipients maarten
Date 2020-08-20.00:39:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597883990.64.0.646746547163.issue41595@roundup.psfhosted.org>
In-reply-to
Content
Or'ing curses.A_COLOR in the `attr` argument of curses.window.chgat ends of with the line not showing.

Actual Problem:
The text is invisible/hidden/not shown.
Using only the attribute curses.A_BLINK is fine.

Expected:
The color of the line is changed +the text starts blinking.


I have attached a small python reproducer and a small c source that shows the correct behavior.
The c example should be compiled as `gcc chgat.c -lncurses -o chgat`.

This is using ncurses 6.1

The c code is from https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/attrib.html,
and the python script is a translation of it.
History
Date User Action Args
2020-08-20 00:39:50maartensetrecipients: + maarten
2020-08-20 00:39:50maartensetmessageid: <1597883990.64.0.646746547163.issue41595@roundup.psfhosted.org>
2020-08-20 00:39:50maartenlinkissue41595 messages
2020-08-20 00:39:50maartencreate