def _rightleft(self, direction):
if direction == "<STR_LIT:left>" and self.padding != <NUM_LIT:0>:<EOL><INDENT>self.padding -= <NUM_LIT:1><EOL><DEDENT>if direction == "<STR_LIT:right>" andself.screen.getmaxyx()[<NUM_LIT:1>] + self.padding < self.max_width:<EOL><INDENT>self.padding += <NUM_LIT:1><EOL><DEDENT>
Provides curses horizontal padding