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

LibTmux.Mcp.WaitOutcome

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

API reference · Markdown

enum LibTmux.Mcp.WaitOutcome
enum [source]
enum [source]
enum LibTmux.Mcp.WaitOutcome

How a wait ended.

Members

Matched

Matched
constant [source]
constant [source]
Matched

One of the patterns the caller asked for appeared.

AnyOutput

AnyOutput
constant [source]
constant [source]
AnyOutput

The pane printed something, and the caller asked for any output.

Stopped

Stopped
constant [source]
constant [source]
Stopped

One of the caller's stop patterns appeared, so waiting was pointless.

Timeout

Timeout
constant [source]
constant [source]
Timeout

The time ran out before anything matched.

PaneDied

PaneDied
constant [source]
constant [source]
PaneDied

The pane's program exited while the wait was running.

PresentAtEntry

PresentAtEntry
constant [source]
constant [source]
PresentAtEntry

A wanted pattern was already on screen when the wait began, and nothing new arrived before time ran out.

This is what a plain Timeout would otherwise report here, with the returned tail visibly containing the very text the wait says it never found: only output arriving after the call counts as new, by design, so calling this right after the command that produced the text - the first thing most callers try - would time out holding a tail that contradicts it. MatchedPattern names what was already there.

Esc

Type to search.