for some reason ‘visual.TextStim’ has some trouble working as intended on my system. When I run the following code, ‘\n’ does not start a new line but shows up as a unknown character. Further the text seems to be smaller than usual by default but I am not sure about that and it can be fixed by argument ‘height’.
from psychopy import visual, core
win = visual.Window([400,400])
message = visual.TextStim(win, text='hello\nworld')
message.setAutoDraw(True) # automatically draw every frame
pyo version 0.8.2 (uses single precision)
Thank you for your help and have a nice day!