Server.expand
Ask tmux to expand a format, against no target but the server itself.
Source and package
- Qualified name
-
libtmux::Server:: expand - 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<std::string , CommandFailure > expand(std::string format) const;_view -
Description#
Unguarded, unlike the entity forms: there is no target here that could have gone away. A server kept alive with no sessions still answers its own fields, and answers the session-scoped ones with nothing — which is the truth about that server, not a failure to report.
- Parameters
tmux command#
The tmux commands behind expand.
tmux C API#
The C declarations in tmux that implement these commands.