I can\'t get the terminal color palette to work with curses.
import curses def main(stdscr): curses.use_default_colors() for i in range(0,7): st
I currently put these lines in front of my script.
curses.use_default_colors() for i in range(0, curses.COLORS): curses.init_pair(i, i, -1);
I don't know if it is the best solution, but at least it yields some color pairs that are consistent with the terminal color palette.