libtmux Reference MCP Search
On this page

tmux.PaneFromEnv

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/from_env.go
PaneFromEnv ( ctx : context.Context , environment : map[string]string ) (Pane, error)
function [source]
function [source]
PaneFromEnv

PaneFromEnv returns the pane identified by TMUX and TMUX_PANE. Nil reads the process environment; a nonnil empty map does not. Environment names are case-insensitive on Windows. It resolves the live hierarchy later through identity-checked tmux queries.

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.