while 1: ... window.addstr(0, 0, \'abcd\') window.refresh() ...
window size is full terminal size, big enough to hold
window
I use oScreen.erase(). It clears the window and puts the cursor back at 0,0
oScreen.erase()