packedColumnRange

fun packedColumnRange(row: Int, columns: Int, cache: TerminalRenderCache? = null): Long

Returns the selected half-open column range for row, packed as start shl 32 | end, or NO_RANGE when row is outside the selection.

Return

packed half-open range, or NO_RANGE.

Parameters

row

visible render-cache row.

columns

visible render-cache column count.

cache

optional terminal render cache used to adjust selection boundaries for wide characters.