ALTERNATE_SCREEN_ON top-level constant
String
const ALTERNATE_SCREEN_ON
Switches to a separate, empty screen, like vim or less do.
CSI ?1049h. What was on the normal screen comes back untouched with
ALTERNATE_SCREEN_OFF. Always switch back before the program ends.
Implementation
const String ALTERNATE_SCREEN_ON = '$CSI?1049h';