Published release 0.2.1. Unreleased PR #2 reference.
LOOM 0.2.1 / ADDITIONAL WIDGETS AND TEXT
BorderLayer
Explicitly merges panel edge connections.
Later insertions supply junction glyphs and style. Render this layer before ordinary content; subsequent buffer writes overwrite it normally.
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
BorderLayer
struct BorderLayerConforms to: Swift.Sendable, Swift.SendableMetatype.
Explicitly merges panel edge connections.
Later insertions supply junction glyphs and style. Render this layer before ordinary content; subsequent buffer writes overwrite it normally.
Source · BorderLayer.swift:5init()
init()Creates a value with the supplied arguments. Default arguments are shown in the declaration.
Source · BorderLayer.swift:21insert(_:in:)
mutating func insert(_ panel: Panel, in area: Rect)Adds absolute panel geometry to the layer without drawing yet.
Parameters (2)
panel- Argument type and any default are shown in the declaration; see the behavior notes above.
in- Argument type and any default are shown in the declaration; see the behavior notes above.
render(buffer:)
func render(buffer: inout Buffer)Draws shadows, merged borders, then titles, respecting the buffer's current clip.
Parameters (1)
buffer- Mutable destination cell grid.