code: def run(self):
          
          # 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)
docs: Run the event loop for the interface.
          This starts the interaction.