OutputWait
What a wait on a pane's output ended on.
Source and package
- Qualified name
-
OutputWait - Package
- libtmux-swift
- Source
- Sources/LibTmux/WaitForOutput.swift
- struct OutputWait : struct Output
Wait
Members10#
- cursor: let cursor: Capture
Cursor ? property Hand this back to a later wait to carry on without re-reading these rows. - init(outcome:matched:matchedIndex:sawNewOutput:matchedAtEntry:tail:cursor:seconds:) method
- matched: let matched: String? property The pattern that ended the wait, from
patternsor fromstops. - matchedAtEntry: let matched
At : Bool property A match or stop condition was already on screen when the wait began. It accompanies an immediate match or stop, or the later outcome whenEntry requireFreshmade the wait look past it. UnderOutcome.expiredWhileReadingit is only meaningful if the entry screen itself was read. - matchedIndex: let matched
Index : Int? property Its position in whichever list it came from. - outcome: let outcome: Outcome property
- Outcome: enum Outcome enum
- sawNewOutput: let saw
New : Bool property Whether new output was observed during the wait. A silent command may still have run when this isOutput false. UnderOutcome.expiredWhileReadingit says nothing: the reads that would have seen output did not finish. - seconds: let seconds: Double property
- tail: let tail: [String] property The last lines that arrived, newest last, for reading when the pattern was wrong.
Inherited members2 members#
Reached through Equatable.!=(_:_:), Decodable.init(from:).
- !=(_:_:) function inherited Returns a Boolean value indicating whether two values are not equal.
- init(from:) method inherited Creates a new instance by decoding from the given decoder.
Guides#
Pages that discuss OutputWait.