loom & weft
Made for Swift.

Published release 0.2.1. Unreleased PR #2 reference.

LOOM 0.2.1 / TERMINAL ALIASES FROM WEFT

TerminalKeyboardProtocol

Legacy leaves the terminal’s existing encoding in place. Kitty explicitly requests extended keys, modifiers, phases, and text; emulator support varies.

loom.TerminalKeyboardProtocol is an alias for weft.TerminalKeyboardProtocol. It is available through import loom. The underlying type’s members are documented here.

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.

Example

_ = TerminalOptions(keyboardProtocol: .kitty)
Members on this page

Feature guides and release status

TerminalKeyboardProtocol

Type Alias
typealias TerminalKeyboardProtocol = weft.weft.TerminalKeyboardProtocol

Legacy leaves the terminal’s existing encoding in place. Kitty explicitly requests extended keys, modifiers, phases, and text; emulator support varies.

Source · TerminalExports.swift:10

Underlying weft API

TerminalKeyboardProtocol

Enumeration
enum TerminalKeyboardProtocol

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

A keyboard protocol explicitly requested by the application.

Source · TerminalOptions.swift:2

legacy

Case
case legacy

Use the terminal's existing keyboard encoding.

Source · TerminalOptions.swift:4

kitty

Case
case kitty

Request Kitty's extended key encoding, phases, alternate keys, and associated text.

Source · TerminalOptions.swift:6