[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: black & white
From: |
Tobias Boege |
Subject: |
Re: black & white |
Date: |
Thu, 19 Sep 2013 10:50:58 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, 19 Sep 2013, folkert wrote:
> 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.
>
I don't know but maybe assume_default_colors(3X) can help you? In the NOTES
section, the problem mentioned with `ded' sounds similar (but not identic I
guess).
Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
- black & white, folkert, 2013/09/19
- Re: black & white,
Tobias Boege <=