NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/55220: Possible color problem in curses and/or py-curses
The following reply was made to PR lib/55220; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: Brett Lymn <blymn%internode.on.net@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: lib/55220: Possible color problem in curses and/or py-curses
Date: Sat, 4 Dec 2021 21:24:42 +0100
Hi Brett!
Thanks for analysing this and for the patch.
I tried fileobj with this, and I still see some weirdness (but perhaps
that is what you meant with the colour pair 0 question?):
When running `fileobj /bin/ls`, the values have three colors: green,
blue, black. The green and blue ones work fine. When I move the curses
over one of the black one, it becomes black-on-green (fine) but when I
move the cursor off, it becomes grey-on-black instead of the
black-on-white it was before.
My terminal is black-on-white by default in case it matters.
As for the patch itself: The color part should be fine to upstream,
since ncurses chgat(3) also documents PAIR_NUMBER. However, I can't
find __ATTRIBUTES in the ncurses man pages nor headers. Is there a
different way to get that?
Cheers,
Thomas
Home |
Main Index |
Thread Index |
Old Index