Searched refs:color_attribs (Results 1 – 1 of 1) sorted by relevance
637 def _style_attr(fg_color, bg_color, attribs, color_attribs={}): argument647 if (fg_color, bg_color) not in color_attribs:650 curses.init_pair(len(color_attribs) + 1, fg_color, bg_color)651 color_attribs[(fg_color, bg_color)] = \652 curses.color_pair(len(color_attribs) + 1)654 return color_attribs[(fg_color, bg_color)] | attribs