code: def resolve_colors(self, colorstack):
          'Returns the curses attribute for the colorstack, a list of color option names sorted highest-precedence color first.'
          attr = CursesAttr()
          for coloropt in colorstack:
              c = self.get_color(coloropt)
              attr = attr.update_attr(c)
          return attf resolve_colors(self, colorstack):
          'Returns the curses attribute for the colorstack, a list of color option names sorted highest-precedence color first.'
          attr = CursesAttr()
          for coloropt in colorstack:
              c = self.get_color(coloropt)
              attr = attr.update_attr(c)
          return attr
docs: Returns the curses attribute for the colorstack, a list of color option names sorted highest-precedence color first.