Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.SetEnvironment

Go

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
Other languages
PythonRubyLuaTypeScriptRust Java .NET C++ Swift
SetEnvironment ( ctx : context.Context , name : string , value : string , options : SetEnvironmentOptions ) → error
method [source]
method [source]
SetEnvironment

SetEnvironment stores a value in the server's global tmux environment. ExpandFormat and Hidden select tmux flags; cancellation does not prove the value was not stored.

Discussed in Environment

In other ports Set a variable in the server's environment

0 declared, 0 inherited

Esc

Type to search.