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

mcp.model.WaitForTextArgs

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

API reference · Markdown

struct mcp.model.WaitForTextArgs
struct [source]
struct [source]
struct mcp.model.WaitForTextArgs

Arguments for waiting until a pane says something.

Members

pane

pane : String
attribute [source]
attribute [source]
pane

The %-prefixed pane to watch.

patterns

patterns : Option<Vec<String>>
attribute [source]
attribute [source]
patterns

Text that ends the wait successfully. Omit to wait for any output.

stop

stop : Option<Vec<String>>
attribute [source]
attribute [source]
stop

Text that ends the wait as a failure, reported as stopped. Omit for none.

Give the failure markers you already know — error:, Traceback — and a failed run returns at once instead of at the deadline.

regex

regex : bool
attribute [source]
attribute [source]
regex

Read both lists as regular expressions rather than literal text.

match_case

match_case : bool
attribute [source]
attribute [source]
match_case

Match case. Off by default.

seconds

seconds : Option<u64>
attribute [source]
attribute [source]
seconds

How long to wait, in seconds. Defaults to 30, capped at 600.

Esc

Type to search.