Unreleased APIs from PR #2. Not in 0.2.1. Stable 0.2.1 reference.
LOOM Unreleased (PR #2) / 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
typealias TerminalKeyboardProtocol = weft.weft.TerminalKeyboardProtocolLegacy leaves the terminal’s existing encoding in place. Kitty explicitly requests extended keys, modifiers, phases, and text; emulator support varies.
Source · TerminalExports.swift:10Underlying weft API
TerminalKeyboardProtocol
enum TerminalKeyboardProtocolConforms to: Swift.Equatable, Swift.Hashable, Swift.Sendable, Swift.SendableMetatype.
A keyboard protocol explicitly requested by the application.
Source · TerminalOptions.swift:2legacy
case legacyUse the terminal's existing keyboard encoding.
Source · TerminalOptions.swift:4kitty
case kittyRequest Kitty's extended key encoding, phases, alternate keys, and associated text.
Source · TerminalOptions.swift:6