Either widget.AppendText, or it widget.WriteTextwill write a new line every time if you send a line with a newline (for example, 'hello \ n')
AppendText, will add text at the end of the text in the control. WriteTextthe same thing, except that new text is placed at the current insertion point.
source
share