in src/pathpicker/color_printer.py [0:0]
def __init__(self, screen: ScreenBase, curses_api: CursesApiBase):
self.colors = {}
self.colors[(0, 0)] = 0 # 0,0 = white on black is hardcoded
# in general, we want to use -1,-1 for most "normal" text printing
self.colors[(-1, -1)] = self.DEFAULT_COLOR_INDEX
self.curses_api = curses_api
self.curses_api.init_pair(self.DEFAULT_COLOR_INDEX, -1, -1)
self.screen = screen
self.current_attributes = 0 # initialized in set_attributes