(self)
Setup the curses
Setup the curses
Setup the curses
def init_curses(self):
        """Setup the curses"""
        self.window = curses.initscr()
        self.window.keypad(True)

        curses.noecho()
        curses.cbreak()

        curses.start_color()
        curses.init_pair(1, curses.COLOR_CYAN, curses.COLOR_BLACK)
        curses.init_pair(2, curses.COLOR_BLACK, curses.COLOR_CYAN)

        self.current = curses.color_pair(2)
def init_curses ( self ) : self . window = curses . initscr ( ) self . window . keypad ( True ) curses . noecho ( ) curses . cbreak ( ) curses . start_color ( ) curses . init_pair ( 1 , curses . COLOR_CYAN , curses . COLOR_BLACK ) curses . init_pair ( 2 , curses . COLOR_BLACK , curses . COLOR_CYAN ) self . current = curses . color_pair ( 2 )