KetraTerm
API · DevelopmentAll versions

read

fun read(reader: TerminalRenderFrameReader, startAbsoluteRow: Long, endAbsoluteRow: Long, checkCancelled: () -> Unit = {}): Boolean

Copies one bounded retained intersection. Returns false if no requested row remains. The reader owns synchronization; checkCancelled must be cheap and must not suspend or perform analysis while the reader's lock is held.