(self)
Show/hide the function keys line on the active page.
Show/hide the function keys line on the active page.
Show / hide the function keys line on the active page .
def _update_bar(self):
        """Show/hide the function keys line on the active page."""
        macros = (
            self._keyboard.get_macro(_i)
            for _i in range(10)
        )
        descriptions = [
            b''.join(FKEY_MACRO_REPLACE_CHARS.get(_s, _s) for _s in iterchar(_macro[:6]))
            for _macro in macros
        ]
        self._text_screen.update_bar(descriptions)
def _update_bar ( self ) : macros = ( self . _keyboard . get_macro ( _i ) for _i in range ( 10 ) ) descriptions = [ b'' . join ( FKEY_MACRO_REPLACE_CHARS . get ( _s , _s ) for _s in iterchar ( _macro [ : 6 ] ) ) for _macro in macros ] self . _text_screen . update_bar ( descriptions )