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.

function libtmux-cxx latest

variable

Wrap a variable name as a substitution.

Source and package
Qualified name
libtmux::variable
Namespace
libtmux
Package
libtmux-cxx
Source
include/libtmux/format.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]] std::string variable(std::string_view name);

Description#

The name is not escaped: a name is chosen by the caller from tmux's format vocabulary, not built from data.

Parameters
Esc

Type to search.

Reference previewOpen reference