Server.wait_for_text
Wait until the pane target names produces wanted.
Source and package
- Qualified name
-
libtmux::Server:: wait _for _text - Namespace
- libtmux
- Declared in
Server- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<WaitResult , CommandFailure > wait_for_text(std::string target, std::_view string wanted, const Wait_view Options & options = {}) const; -
Description#
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, andWaitPath::pane_lookupsays that is what happened.- Parameters
-
-
options(const WaitOptions &) #
tmux command#
The tmux commands behind wait_for_text.
tmux C API#
The C declarations in tmux that implement these commands.