# OutputWait

- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-swift/blob/254f8b2be7eb60cacc3ffcb3ea8e456784f582df/Sources/LibTmux/WaitForOutput.swift#L4
- **Page:** https://libtmux.org/en/swift/latest/reference/outputwait/

What a wait on a pane's output ended on.

## Members

- `!=(_:_:)` (function): Returns a Boolean value indicating whether two values are not equal.
- `Outcome` (enum)
- `outcome` (property)
- `matched` (property): The pattern that ended the wait, from `patterns` or from `stops`.
- `matchedIndex` (property): Its position in whichever list it came from.
- `sawNewOutput` (property): Whether anything at all arrived. `false` with ``Outcome/timedOut`` means the pane was quiet — usually the command never ran, which no change of pattern will fix. Under ``Outcome/expiredWhileReading`` it says nothing: the reads that would have seen output did not finish.
- `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 `requireFresh` made the wait look past it. Under ``Outcome/expiredWhileReading`` it is only meaningful if the entry screen itself was read.
- `tail` (property): The last lines that arrived, newest last, for reading when the pattern was wrong.
- `cursor` (property): Hand this back to a later wait to carry on without re-reading these rows.
- `seconds` (property)
- `init(outcome:matched:matchedIndex:sawNewOutput:matchedAtEntry:tail:cursor:seconds:)` (method)
- `init(from:)` (method): Creates a new instance by decoding from the given decoder.
