KetraTerm
API · DevelopmentAll versions

read

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

Copies one retained intersection, at most maxRows rows and maxCells cells, except that a single row wider than the cell budget is allowed. Returns whether a complete nonempty batch was copied. checkCancelled must not suspend or block.