eraseInDisplay

abstract fun eraseInDisplay(mode: Int, selective: Boolean)

Erases cells in the viewport (ED / DECSED).

Parameters

mode

The erase mode (0 = cursor to end, 1 = start to cursor, 2 = entire screen, 3 = screen and scrollback).

selective

true if this is a selective erase (DECSED) that respects protection attributes.