[New-bugs-announce] [issue41595] curses' window.chgat does not change color when specifying curses.A_COLOR
Maarten
report at bugs.python.org
Wed Aug 19 20:39:50 EDT 2020
New submission from Maarten <madebr at gmail.com>:
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.
----------
components: Library (Lib)
files: chgat.py
messages: 375681
nosy: maarten
priority: normal
severity: normal
status: open
title: curses' window.chgat does not change color when specifying curses.A_COLOR
versions: Python 3.7
Added file: https://bugs.python.org/file49407/chgat.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41595>
_______________________________________
More information about the New-bugs-announce
mailing list