(self, descriptions)
Update the key descriptions in the bottom bar.
Update the key descriptions in the bottom bar.
Update the key descriptions in the bottom bar .
def update_bar(self, descriptions):
        """Update the key descriptions in the bottom bar."""
        self._bottom_bar.clear()
        for i, text in enumerate(descriptions):
            kcol = 1 + 8*i
            self._bottom_bar.write((b'%d' % (i+1,))[-1:], kcol, False)
            self._bottom_bar.write(text, kcol+1, True)
def update_bar ( self , descriptions ) : self . _bottom_bar . clear ( ) for i , text in enumerate ( descriptions ) : kcol = 1 + 8 * i self . _bottom_bar . write ( ( b'%d' % ( i + 1 , ) ) [ - 1 : ] , kcol , False ) self . _bottom_bar . write ( text , kcol + 1 , True )