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

Server.environment

The environment every new process on this server starts with.

Source and package
Qualified name
libtmux::Server::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.Language documentation]] expected<std::vector<EnvironmentEntry>, CommandFailure> environment() const;

Description#

Server-global here; a session has its own. tmux keeps hidden entries apart from these, and this asks for neither -h nor the shell form, so what comes back is the plain listing a caller means.

tmux command#

The tmux commands behind environment.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference