LibTmux.Window.FromEnvironmentAsync
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- LibTmux
- Declared in
- Window
- Package
- LibTmux
- Source
- src/LibTmux/Window.FromEnvironment.cs
- FromEnvironmentAsync ( environment : IReadOnlyDictionary<string, string>? , cancellationToken : CancellationToken ) Task<Window>
-
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
-
-
environment ( IReadOnlyDictionary<string, string>? ) – The environment, or null for the process.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
The resolved window.
Discussed in Environment
0 declared, 0 inherited