Window.FromEnvironmentAsync
Returns the window holding the pane this process runs in.
Source and package
- Qualified name
-
LibTmux .Window. From Environment Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.FromEnvironment.cs
- static async Task<Window> FromEnvironmentAsync( IRead
Only <string, string>? environment = null, CancellationDictionary Token cancellationToken = default ) -
Description
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
-
-
environment(IReadOnly <string, string>?) – The environment, or null for the process.Dictionary Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux commands.Default
default
-
- Returns
-
The resolved window.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Window.FromEnvironmentAsync.
Guides
task materialPages that discuss FromEnvironmentAsync.