clearScreen

abstract fun clearScreen()

Clears the visible screen and homes the cursor (equivalent to ED 2 + CUP).

Scrollback history is preserved. This matches what the shell clear command sends.