Published release 0.2.1. Unreleased PR #2 reference.
LOOM 0.2.1 / SUPPORTING WEFT TYPES
MouseButton
A mouse button identified by SGR terminal reports.
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
MouseButton
enum MouseButtonConforms to: Swift.Equatable, Swift.Sendable, Swift.SendableMetatype.
A mouse button identified by SGR terminal reports.
Source · MouseEvent.swift:15left
case leftThe left case. Associated values, if any, are shown in the declaration.
Source · MouseEvent.swift:16middle
case middleThe middle case. Associated values, if any, are shown in the declaration.
Source · MouseEvent.swift:17right
case rightThe right case. Associated values, if any, are shown in the declaration.
Source · MouseEvent.swift:18additional(_:)
case additional(Int)The xterm button number, from 8 through 11.
Source · MouseEvent.swift:20