requestRender

fun requestRender(scrollbackOffset: Int)

Requests a render-cache publication for a caller-owned scrollback viewport.

The offset is transient render request state, not terminal state. UI layers own scrollback policy and pass the desired offset for each publication they need.

Parameters

scrollbackOffset

logical whole-row offset from live viewport.


fun requestRender(scrollbackOffset: Int, viewportRows: Int)

Requests a render-cache publication with optional render-only viewport overscan rows.

viewportRows greater than zero asks the render reader to expose that many rows when possible. This is UI composition state and must not resize the terminal or connector.

Parameters

scrollbackOffset

logical whole-row offset from live viewport.

viewportRows

row count requested from the render cache.