@staticmethod
def setup_palette(screen):
    may_use_fancy_formats = (not hasattr(urwid.escape, '_fg_attr_xterm'))
    from pudb.theme import get_palette
    screen.register_palette(get_palette(may_use_fancy_formats, CONFIG['theme']))
@staticmethod
def setup_palette(screen):
    may_use_fancy_formats = (not hasattr(urwid.escape, '_fg_attr_xterm'))
    from pudb.theme import get_palette
    screen.register_palette(get_palette(may_use_fancy_formats, CONFIG['theme']))