readRenderFrameForAbsoluteRange

open override fun readRenderFrameForAbsoluteRange(startAbsoluteRow: Long, endAbsoluteRow: Long, consumer: TerminalRenderFrameConsumer)

Reads an absolute terminal row range while holding the mutation lock.

Resolving absolute rows and copying their frame are one atomic operation, so incoming output cannot shift a selection onto unrelated scrollback rows between coordinate conversion and frame access.

Parameters

startAbsoluteRow

inclusive first requested absolute row.

endAbsoluteRow

inclusive last requested absolute row.

consumer

the frame consumer to invoke.