On this page
OutputWait
- Package
- libtmux-swift
- Source
- Sources/LibTmux/WaitForOutput.swift
- struct OutputWait : struct OutputWait
-
What a wait on a pane's output ended on.
11 declared, 0 inherited
Members
- Outcome enum
- !=(_:_:) function Returns a Boolean value indicating whether two values are not equal.
- init(from:) method Creates a new instance by decoding from the given decoder.
- init(outcome:matched:matchedIndex:sawNewOutput:matchedAtEntry:tail:seconds:) method
- matched property The pattern that ended the wait, from
patternsor fromstops. - matchedAtEntry 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 when
requireFreshmade the wait look past it. UnderOutcome/expiredWhileReadingit is only meaningful if the entry screen itself was read. - matchedIndex property Its position in whichever list it came from.
- outcome property
- sawNewOutput property Whether anything at all arrived.
falsewithOutcome/timedOutmeans the pane was quiet — usually the command never ran, which no change of pattern will fix. UnderOutcome/expiredWhileReadingit says nothing: the reads that would have seen output did not finish. - seconds property
- tail property The last lines that arrived, newest last, for reading when the pattern was wrong.