def METHOD_NAME(self, text):
    """Append new text and scroll output to bottom.
    We can't use Qt's way to append stuff because that inserts weird
    newlines.
    """
    self.moveCursor(QTextCursor.MoveOperation.End)
    self.insertPlainText(text)
    scrollbar = self.verticalScrollBar()
    assert scrollbar is not None
    scrollbar.setValue(scrollbar.maximum())