Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

OutputWait

Swift
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift

View as Markdown

Package
libtmux-swift
Source
Sources/LibTmux/WaitForOutput.swift
struct OutputWait : struct OutputWait
struct [source]
struct [source]
struct OutputWait

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

Discussed in Pane interaction

10 declared, 2 inherited

Members

  • 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 property The pattern that ended the wait, from patterns or from stops.
  • 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.
  • matchedIndex property Its position in whichever list it came from.
  • outcome property
  • Outcome enum
  • 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.
  • seconds property
  • tail property The last lines that arrived, newest last, for reading when the pattern was wrong.

Inherited members

Reached through Equatable.!=(_:_:), Decodable.init(from:).

  • !=(_:_:) Equatable.!=(_:_:) Returns a Boolean value indicating whether two values are not equal.
  • init(from:) Decodable.init(from:) Creates a new instance by decoding from the given decoder.
Esc

Type to search.