Ah, are you asking how to completely delete or clear the terminal display when you need to?
I don’t believe there is currently a way to completely clear the display (meaning you can always “scroll” up to see previous prints). I use a series of terminal.println(); to make the terminal appear cleared.
Yes, that’s correct per How do I clear the terminal screen on Android app?.