#NEWLINE# def _setup_curses( self , screen ) : #NEWLINE# #INDENT# curses . curs_set ( 0 ) #NEWLINE# curses . init_pair ( 1 , 251 , curses . COLOR_BLACK ) #NEWLINE# curses . init_pair ( 2 , curses . COLOR_BLACK , curses . COLOR_YELLOW ) #NEWLINE# curses . init_pair ( 3 , curses . COLOR_GREEN , curses . COLOR_BLACK ) #NEWLINE# curses . init_pair ( 4 , 237 , curses . COLOR_BLACK ) #NEWLINE# curses . init_pair ( 5 , curses . COLOR_WHITE , curses . COLOR_RED ) #NEWLINE# curses . init_pair ( 6 , curses . COLOR_WHITE , curses . COLOR_BLUE ) #NEWLINE# curses . init_pair ( 7 , 240 , curses . COLOR_BLACK ) #NEWLINE# self . screen = screen #NEWLINE# self . table_pad = curses . newpad ( ( self . _table . height + 1 ) , self . _table . width ) #NEWLINE# self . output_pad = curses . newpad ( ( self . _table . ncells + 2 ) , max ( self . _table . width , 50 ) )