#NEWLINE# def create_history( self ) : #NEWLINE# #INDENT# self . overlay = Overlay ( ) #NEWLINE# history = self . history_manager . items ( ) #NEWLINE# [ self . overlay . addHistoryItem ( item ) for item in history ] #NEWLINE# self . overlay . addSpacer ( ) #NEWLINE# self . overlay . addMenuItem ( 'clear_hist' , 'Clear history' ) #NEWLINE# self . overlay . addMenuItem ( 'back' , 'Back to menu' )