def __init__(self):
        super().__init__()

        self.move_left = ['4']
        self.move_up = ['8']
        self.move_right = ['6']
        self.move_down = ['2']

        self.action_a = ['5']
        self.back = [' ']

        self.colours = {}

        if curses.has_colors():
            curses.init_pair(1, curses.COLOR_BLUE, curses.COLOR_BLACK);
            curses.init_pair(2, curses.COLOR_CYAN, curses.COLOR_BLACK);
            curses.init_pair(3, curses.COLOR_GREEN, curses.COLOR_BLACK);
            curses.init_pair(4, curses.COLOR_MAGENTA, curses.COLOR_BLACK);
            curses.init_pair(5, curses.COLOR_RED, curses.COLOR_BLACK);
            curses.init_pair(6, curses.COLOR_WHITE, curses.COLOR_BLACK);
            curses.init_pair(7, curses.COLOR_YELLOW, curses.COLOR_BLACK);
returns list of (local) branches, with active (= HEAD) one being the first item
dataset/ETHPy150Open tuturto/pyherc/src/herculeum/ui/text/config.py/CursesControlsConfiguration.__init__--crossover with--dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/PyGIT.py/Storage.get_branches