Server.set_environment
Bind a name.
Source and package
- Qualified name
-
libtmux::Server:: set _environment - 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<void, CommandFailure > set_environment(std::string name, std::_view string value) const;_view -
Description#
An empty value binds it to empty, which is not the same as not binding it at all.
- Parameters
tmux command#
The tmux commands behind set_environment.
tmux C API#
The C declarations in tmux that implement these commands.