docs: def wait_command(self, start_func, turns=1, end_func=None):
          """Call ``start_func``, wait ``turns``, and then call ``end_func`` if provided
  
          Disables input for the duration.
  
          :param start_func: function to call just after disabling input
          :param turns: number of turns to wait
          :param end_func: function to call just before re-enabling input
          :return: ``None``
  
          """
          self.disable_input()
          start_func()
          self.app.wait_turns(turns, cb=partial(self.enable_input, end_func))