getPackedAttrAt

abstract fun getPackedAttrAt(col: Int, row: Int): Long

Returns the primary packed cell attribute word at [col, row].

Out-of-bounds column probes return the active primary pen word. This mirrors the terminal's current erase/write attribute for off-grid queries. Decode this value together with getPackedExtendedAttrAt via io.github.ketraterm.core.codec.AttributeCodec.

Return

Primary packed attribute word for the cell or active pen.

Parameters

col

Column index (0-based).

row

Row index (0-based).