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.

attribute libtmux-cxx latest

NewSessionOptions.environment

Variables the new process starts with, on top of what tmux passes down.

Source and package
Qualified name
libtmux::NewSessionOptions::environment
Namespace
libtmux
Declared in
NewSessionOptions
Package
libtmux-cxx
Source
include/libtmux/entities.hpp

Description#

Pairs rather than NAME=value strings: tmux takes a -e without an = without complaint and creates nothing, so the pair is joined here and a name carrying an = is refused where the command is built.

An empty value sets the variable to empty. It does not remove it.

Esc

Type to search.

Reference previewOpen reference