code: def run(self, refresh_interval=0.05):
          
          try:
              from asciimatics.screen import Screen
          except ImportError:
              raise ExternalError("You must have asciimatics installed to use LinebufferUI",
                                  suggestion="pip install iotilecore[ui]")
  
          Screen.wrapper(self._run_loop, arguments=[refresh_interval])
docs: Set up the loop, check that the tool is installed