method libtmux-dotnet latest
Session.GetActivePaneAsync
Reads from tmux the pane this session shows: its current window's active pane.
Source and package
- Module
- LibTmux
- Declared in
- Session
- Package
- LibTmux
- Source
- src/LibTmux/Session.Relations.cs
- GetActivePaneAsync ( cancellationToken : Cancellation
Token ) Task<Pane> -
Description#
Asks tmux now, where
ActivePaneholds what a capture saw.- Parameters
-
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
The pane tmux reports.
- Raises
-
-
Tmux
Object – tmux reports no such pane.Not Found Exception
-