def end_input(self, cmd):
        """End of wait_input mode"""
        self.input_mode = False
        self.input_loop.exit()
        self.interpreter.widget_proxy.end_input(cmd)
def end_input ( self , cmd ) : self . input_mode = False self . input_loop . exit ( ) self . interpreter . widget_proxy . end_input ( cmd )
End of wait_input mode