Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / RENDERING, VIEWPORTS, AND COMPOSITION
Viewport
The terminal footprint owned by a renderer.
Frame coordinates are always local.
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
Viewport
enum ViewportConforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.
The terminal footprint owned by a renderer.
Frame coordinates are always local.
Source · Viewport.swift:6fullscreen
case fullscreenThe fullscreen case. Associated values, if any, are shown in the declaration.
Source · Viewport.swift:7fixed(_:)
case fixed(Rect)A physical terminal rectangle, clipped to the current terminal size.
Source · Viewport.swift:9inline(height:anchor:)
case inline(height: Int, anchor: Point)A full-width primary-screen region starting at a confirmed physical cursor.
A nonzero cursor column starts on the following row. The renderer reserves rows with line feeds and may scroll existing primary-screen output upward.
Source · Viewport.swift:14