NewServerFromEnv
NewServerFromEnv returns a server configured from TMUX without starting tmux. It snapshots the process environment once. A nonnil environment supplies discovery values and overrides that snapshot for later tmux processes; an empty map therefore has no TMUX discovery value. Names follow the platform's environment rules and are case-insensitive on Windows.
Source and package
- Qualified name
-
tmux.New Server From Env - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/from_env.go
-
- Parameters
-
-
environment(map[string]string) #
-
Guides#
Pages that discuss NewServerFromEnv.