docs: def _insert_command(self, command):
          """
          Insert command by replacing the current input buffer and display it on the text edit.
          """
          self._clear_user_buffer()
          tc = self.edit.textCursor()
          tc.insertText(command)
          self.edit.setTextCursor(tc)