CLEAR_SCREEN top-level constant

String const CLEAR_SCREEN

Clears everything on the screen.

CSI 2J. The cursor doesn't move, so add CURSOR_HOME to start again at the top left. The scrollback is kept; see CLEAR_SCROLLBACK.

Implementation

const String CLEAR_SCREEN = '${CSI}2J';