eraseRectangle

abstract fun eraseRectangle(top: Int, left: Int, bottom: Int, right: Int, selective: Boolean)

Erases a VT400 rectangular area (DECERA / DECSERA).

Coordinates retain DEC's one-based inclusive representation so the core can apply its active origin-mode policy. A value of 0 denotes an omitted parameter and is resolved by the core.

Parameters

top

One-based top row.

left

One-based left column.

bottom

One-based bottom row.

right

One-based right column.

selective

true for DECSERA, which preserves selectively protected cells.