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

libtmux::Server::wait_for_text

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

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux-cxx
Source
include/libtmux/server.hpp
wait_for_text ( target : std::string_view , wanted : std::string_view , options : const WaitOptions & = {} ) → expected< WaitResult, CommandFailure >
methodreadonly [source]
methodreadonly [source]
wait_for_text

Wait until the pane target names produces wanted.

For a caller holding a target rather than a Pane — Pane::wait_for_text is the same wait without the lookup. One deadline covers both: a target that will not resolve cannot spend the whole budget and leave nothing for waiting, and WaitPath::pane_lookup says that is what happened.

0 declared, 0 inherited

Esc

Type to search.