loom & weft
Made for Swift.

Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.

LOOM Unreleased (PR #2) / RENDERING, VIEWPORTS, AND COMPOSITION

RenderInsertion

Full-width transcript insertion, followed by repainting the retained inline frame.

Standard inherited Swift protocol operations such as synthesized equality and OptionSet set operations are not repeated. The public declarations below are extracted from the exact source revision listed in the coverage manifest.

Members on this page

Feature guides and release status

RenderInsertion

Structure
struct RenderInsertion

Conforms to: Swift.Sendable, Swift.SendableMetatype.

Full-width transcript insertion, followed by repainting the retained inline frame.

Source · RenderBackend.swift:47

content

Instance Property
let content: Buffer

A public field of this type. Its value type and mutability are shown in the declaration.

Source · RenderBackend.swift:48

retained

Instance Property
let retained: FrameSnapshot

A public field of this type. Its value type and mutability are shown in the declaration.

Source · RenderBackend.swift:49

terminalSize

Instance Property
let terminalSize: RenderSize

A public field of this type. Its value type and mutability are shown in the declaration.

Source · RenderBackend.swift:50

oldArea

Instance Property
let oldArea: Rect

A public field of this type. Its value type and mutability are shown in the declaration.

Source · RenderBackend.swift:51

newArea

Instance Property
let newArea: Rect

A public field of this type. Its value type and mutability are shown in the declaration.

Source · RenderBackend.swift:52

init(content:retained:terminalSize:oldArea:newArea:)

Initializer
init(content: Buffer, retained: FrameSnapshot, terminalSize: RenderSize, oldArea: Rect, newArea: Rect)

Creates a value with the supplied arguments. Default arguments are shown in the declaration.

Parameters (5)
content
Argument type and any default are shown in the declaration; see the behavior notes above.
retained
Argument type and any default are shown in the declaration; see the behavior notes above.
terminalSize
Argument type and any default are shown in the declaration; see the behavior notes above.
oldArea
Argument type and any default are shown in the declaration; see the behavior notes above.
newArea
Argument type and any default are shown in the declaration; see the behavior notes above.
Source · RenderBackend.swift:54