setScrollRegion

abstract fun setScrollRegion(top: Int, bottom: Int)

DECSTBM scroll region.

Top and bottom are parser-translated to zero-origin before handoff. A bottom value of -1 means the sequence omitted the bottom margin, so the core should use the terminal's current last row.

Parameters

top

The zero-based top row index.

bottom

The zero-based bottom row index, or -1 to use the bottom of the terminal.