Closed X-Ryl669 closed 10 years ago
Viewing the ansi colours text file that is in the repository, I don't see it as white there, either. I'm not sure this issue is specific to Diakonos. I'm also not sure how to get a full #FFFFFF white background in curses.
I think you have 2 solutions.
Solution 1: Don't set the background at all.
curses.init_pair(1, curses.COLOR_WHITE, -1)
seems to work. (-1 for no background color) I have to test if this is already supported in the configuration file
Solution 2: Set the color you miss. This seems to work:
curses.init_color(192, 1000, 1000, 1000)
curses.init_pair(1, curses.COLOR_BLACK, 192)
This is currently not supported in the configuration file.
Actually this commit solves the issue in my terminal (white is true white) : https://github.com/X-Ryl669/diakonos/commit/5ebbbe04e04190e70112f9006e0ab5243cc03549
Closing this, as per our discussions in IRC. Diakonos now uses the terminal's default BG unless overridden by the configuration. This default BG can be black, white, or any colour, and transparency is now supported, too.
It's very very light gray, but not white.