MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

LibTmux.Mcp.WaitOutcome

API reference · Markdown

enum LibTmux.Mcp.WaitOutcome
enum [source]

How a wait ended.

Members

Matched

Matched
constant [source]

One of the patterns the caller asked for appeared.

AnyOutput

AnyOutput
constant [source]

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

Stopped

Stopped
constant [source]

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

Timeout

Timeout
constant [source]

The time ran out before anything matched.

PaneDied

PaneDied
constant [source]

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

PresentAtEntry

PresentAtEntry
constant [source]

A wanted pattern was already on screen in the initial capture.

Description#

The wait returns this outcome before waiting for new output. MatchedPattern names the existing match.

Esc

Type to search.