Pane.expand
Ask tmux to expand a format against this pane.
Source and package
- Qualified name
-
libtmux::Pane:: expand - Namespace
- libtmux
- Declared in
Pane- Package
- libtmux-cxx
- Source
- include/libtmux/entities.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
#{pane_current_command}and#{pane_current_path}are the two most callers reach for, and neither is a field this class carries: both change under a value that stays still.Guarded like the session and window forms, because tmux answers a pane that has gone with a blank and a zero exit status.
- Parameters
Recorded calls
source callsThe C++ reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls libtmux::Pane::expand.
Guides
task materialPages that discuss expand.