(self, mode_new)
Print help for filebrowser
Print help for filebrowser
Print help for filebrowser
def browser_help(self, mode_new):
        '''Print help for filebrowser'''

        if mode_new:
            self.draw_help(
            'Navigate with arrow keys.',
            '\'o\' - choose directory',
            '\'e\' - abort',
            '\'H\' - show/hide hidden files',
            '\'ngg\' - move to line n',
            '\'G\' - move to last line',
            '/text - go to \'text\' (like in vim/ranger)',
            '\n',
            'Press return.')
        else:
            self.draw_help(
            'Navigate with arrow keys.',
            '\'q\' - close program',
            '\'e\' - abort',
            '\'H\' - show/hide hidden files',
            '\'ngg\' - move to line n',
            '\'G\' - move to last line',
            '/text - go to \'text\' (like in vim/ranger)',
            '\n',
            'Press return.')
def browser_help ( self , mode_new ) : if mode_new : self . draw_help ( 'Navigate with arrow keys.' , '\'o\' - choose directory' , '\'e\' - abort' , '\'H\' - show/hide hidden files' , '\'ngg\' - move to line n' , '\'G\' - move to last line' , '/text - go to \'text\' (like in vim/ranger)' , '\n' , 'Press return.' ) else : self . draw_help ( 'Navigate with arrow keys.' , '\'q\' - close program' , '\'e\' - abort' , '\'H\' - show/hide hidden files' , '\'ngg\' - move to line n' , '\'G\' - move to last line' , '/text - go to \'text\' (like in vim/ranger)' , '\n' , 'Press return.' )