docs: def command(self):
          """This is used to write a snippet message in the status bar.
  
          A cursor is appended at the end.
  
          """
          msg = self.gui.status_message
          n = len(msg)
          n_cur = len(self.cursor)
          return msg[:n - n_cur]