loom & weft
Made for Swift.

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

LOOM Unreleased (PR #2) / SUPPORTING WEFT TYPES

TerminalReply

A recognized terminal report.

Cursor positions are zero-based terminal cells.

Defined by weft, with no loom typealias. Add the weft product to your target and use import weft when referring to this type by name.

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

TerminalReply

Enumeration
enum TerminalReply

Conforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.

A recognized terminal report.

Cursor positions are zero-based terminal cells.

Source · TerminalQuery.swift:69

cursorPosition(_:)

Case
case cursorPosition(Point)

The cursor position case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:70

foregroundColor(_:)

Case
case foregroundColor(TerminalRGB)

The foreground color case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:71

backgroundColor(_:)

Case
case backgroundColor(TerminalRGB)

The background color case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:72

kittyKeyboard(flags:)

Case
case kittyKeyboard(flags: UInt32)

The kitty keyboard case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:73

kittyKeyboardUnsupported

Case
case kittyKeyboardUnsupported

Device attributes arrived without a preceding Kitty detection report.

Source · TerminalQuery.swift:75

colorScheme(_:)

Case
case colorScheme(TerminalColorScheme)

The color scheme case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:76

privateMode(_:_:)

Case
case privateMode(Int, TerminalModeState)

The private mode case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:77

primaryDeviceAttributes(_:)

Case
case primaryDeviceAttributes([Int])

The primary device attributes case. Associated values, if any, are shown in the declaration.

Source · TerminalQuery.swift:78