libtmux Reference MCP Search
On this page

LibTmux.Window.FromEnvironmentAsync

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.FromEnvironment.cs
FromEnvironmentAsync ( environment : IReadOnlyDictionary<string, string>? , cancellationToken : CancellationToken ) Task<Window>
methodstaticasync [source]
methodstaticasync [source]
FromEnvironmentAsync

Returns the window holding the pane this process runs in.

Resolved through the pane rather than through the session id in TMUX, which is frozen at pane spawn and goes stale when the window is moved.

Parameters
Returns

The resolved window.

Discussed in Environment

0 declared, 0 inherited

Esc

Type to search.