def run(self):
        """
        Run the event loop for the interface.
        This starts the interaction.
        """
        # Make sure everything is in sync, before starting.
        self.sync_with_prompt_toolkit()

        def pre_run():
            # Start in navigation mode.
            self.application.vi_state.input_mode = InputMode.NAVIGATION

        # Run eventloop of prompt_toolkit.
        self.application.run(pre_run=pre_run)
def run ( self ) : self . sync_with_prompt_toolkit ( ) def pre_run ( ) : self . application . vi_state . input_mode = InputMode . NAVIGATION self . application . run ( pre_run = pre_run )
Run the event loop for the interface.
        This starts the interaction.