method libtmux-dotnet latest
Pane.FromEnvironmentAsync
Returns the pane this process was spawned in.
Source and package
- Module
- LibTmux
- Declared in
- Pane
- Package
- LibTmux
- Source
- src/LibTmux/Pane.FromEnvironment.cs
- FromEnvironmentAsync ( environment : IRead
Only <string, string>? , cancellationToken : CancellationDictionary Token ) Task<Pane> -
- Parameters
-
-
environment ( IRead
Only <string, string>? ) – The environment, or null for the process.Dictionary -
cancellationToken ( Cancellation
Token ) – Cancels the tmux commands.
-
- Returns
-
The resolved pane.
- Raises
-
-
Tmux
Object – The environment does not name a pane, or tmux no longer has it.Not Found Exception
-
Discussed in Environment