KetraTerm
API · v0.2.2All versions

accept

open override fun accept(frame: TerminalRenderFrame)

Copies row data, cursor state, active buffer kind, and color palette from the given frame into this cache's primitive storage.

Direct consumers own the source lifetime: call reset before delivering frames from another source. Prefer updateFrom or updateFromAbsoluteRange when a reader is available; they qualify row generations by reader identity automatically.

Parameters

frame

the short-lived render frame snapshot to copy from.