KetraTerm
API · DevelopmentAll versions

copyTextLine

open fun copyTextLine(row: Int, codeWords: IntArray, codeOffset: Int = 0, flags: IntArray, flagOffset: Int = 0, clusterDataSink: TerminalRenderClusterDataSink? = null)

Copies only text and cell geometry for one visible row, in logical column order.

Overwrites columns entries in codeWords and flags starting at their respective offsets. Encodings and cluster callback lifetimes are identical to copyLine. No attributes, hyperlinks, palette or cursor data are requested.

The compatibility implementation delegates to copyLine with temporary attribute storage. Allocation-sensitive frame implementations should override this method to skip attribute translation and copying entirely.