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

Go API

Go documentation

tmux.GlobalSessionScope.SetUpdateEnvironment

Go
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
tmux
Declared in
GlobalSessionScope
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/option_generated.go
SetUpdateEnvironment ( ctx : context.Context , value : SparseArray[string] ) → (SetArrayResult, error)
method [source]
method [source]
SetUpdateEnvironment

SetUpdateEnvironment replaces the complete "update-environment" session option array with SparseArraystring, preserving holes and empty values (tmux 3.2a or later). Read it with SessionOptionValues.UpdateEnvironment from GlobalSessionScope.Options ; GlobalSessionScope.UnsetOption restores inheritance or the global default. Replacement is not atomic: the result reports confirmed writes, and failures stop without rollback. Serialize concurrent replacement of the same target and option.

0 declared, 0 inherited

Esc

Type to search.