TerminalShellIntegrationContext
Session-scoped, read-only access for a shell producer that derives metadata from terminal output. Frames and published caches are borrowed only for the callback; never mutate or retain them. No callback may block on UI work or close the session.
Properties
Functions
Link copied to clipboard
Borrows the most recent copied frame without acquiring terminal mutation serialization.
Link copied to clipboard
open override fun readRenderFrame(scrollbackOffset: Int, viewportRows: Int, consumer: TerminalRenderFrameConsumer)
Link copied to clipboard
open override fun readRenderFrameForAbsoluteRange(startAbsoluteRow: Long, endAbsoluteRow: Long, consumer: TerminalRenderFrameConsumer)
Link copied to clipboard
Serializes a short compound context/frame read with parser and grid mutation.