method libtmux-dotnet latest
Window.FromEnvironmentAsync
Returns the window holding the pane this process runs in.
Source and package
- Module
- LibTmux
- Declared in
- Window
- Package
- LibTmux
- Source
- src/LibTmux/Window.FromEnvironment.cs
- FromEnvironmentAsync ( environment : IRead
Only <string, string>? , cancellationToken : CancellationDictionary Token ) Task<Window> -
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 ( IRead
Only <string, string>? ) – The environment, or null for the process.Dictionary -
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The resolved window.
Discussed in Environment