bug-ncurses
[Top][All Lists]
Advanced

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

black & white


From: folkert
Subject: black & white
Date: Thu, 19 Sep 2013 10:21:29 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

For some reason certain terminal programs (line gnome terminal) swap
black and white. So if one uses the ncurses COLOR_BLACK for background
and COLOR_WHITE for foreground you get actually the reverse.
Unfortunately this behaviour is not consistent: COLOR_GREEN on
COLOR_BLACK does give exactly that. As you can imagine, combining these
colorpairs give less than ideal results (e.g. your program looking as if
it does not completely fill the background).

Is there a workaround for this problem?
I tried init_color(COLOR_BLACK, 0, 0, 0); init_color(COLOR_WHITE, 999,
999, 999); but that did not help.


regards,

Folkert van Heusden

-- 
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



reply via email to

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