(self)
Navigate down
Navigate down
Navigate down
def nav_down(self):
        '''Navigate down'''

        if self.cur_win == 0 and self.g_highlight < len(self.groups) - 1:
            ysize = self.control.group_win.getmaxyx()[0]
            if (self.g_highlight >= ysize - 4 + self.g_offset and
                not self.g_offset >= len(self.groups) - ysize + 4):
                self.g_offset += 1
            self.g_highlight += 1
            self.e_offset = 0
            self.e_highlight = 0
            self.sort_tables(False, True)
        elif self.cur_win == 1 and self.e_highlight < len(self.entries) - 1:
            ysize = self.control.entry_win.getmaxyx()[0]
            if (self.e_highlight >= ysize - 4 + self.e_offset and
                not self.e_offset >= len(self.entries) - ysize + 3):
                self.e_offset += 1
            self.e_highlight += 1
def nav_down ( self ) : if self . cur_win == 0 and self . g_highlight < len ( self . groups ) - 1 : ysize = self . control . group_win . getmaxyx ( ) [ 0 ] if ( self . g_highlight >= ysize - 4 + self . g_offset and not self . g_offset >= len ( self . groups ) - ysize + 4 ) : self . g_offset += 1 self . g_highlight += 1 self . e_offset = 0 self . e_highlight = 0 self . sort_tables ( False , True ) elif self . cur_win == 1 and self . e_highlight < len ( self . entries ) - 1 : ysize = self . control . entry_win . getmaxyx ( ) [ 0 ] if ( self . e_highlight >= ysize - 4 + self . e_offset and not self . e_offset >= len ( self . entries ) - ysize + 3 ) : self . e_offset += 1 self . e_highlight += 1