Core LibraryalphaAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-cxx latest

Window.expand

Ask tmux to expand a format against this window: the same reach the session form gives, guarded the same way.

Source and package
Qualified name
libtmux::Window::expand
Namespace
libtmux
Declared in
Window
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.Language documentation]] expected<std::string, CommandFailure> expand(std::string_view format) const;

Description#

A window that has gone reports FailureKind::missing rather than answering with a blank.

Parameters
Esc

Type to search.

Reference previewOpen reference