libtmux Reference MCP Search
On this page

tmux.Server.SetEnvironment

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/environment.go
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

0 declared, 0 inherited

Esc

Type to search.