I can print to the screen with StdOut
but is there a string sequence that will clear the terminal screen? or are we stuck in pure “teletype” mode?
print Chrb(27)+"c"
which assumes your app is running in a “terminal” that supports vt sequences
and if it doesn’t you get garbage characters on the output