Skip to content

CLEAR_SCREEN

const CLEAR_SCREEN: `${string}[2J${string}[3J${string}[H`

Defined in: packages/format-ansi/src/cursor.ts:20

Erases the whole screen and its scrollback, then moves the cursor home.