Session.GetActivePaneAsync
Reads from tmux the pane this session shows: its current window's active pane.
Source and package
- Qualified name
-
LibTmux .Session. Get Active Pane Async - Namespace
- LibTmux
- Declared in
Session- Package
- LibTmux
- Source
- src/LibTmux/Session.Relations.cs
- async Task<Pane> GetActivePaneAsync( Cancellation
Token cancellationToken = default ) -
Description
Asks tmux now, where
ActivePaneholds what a capture saw.- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
The pane tmux reports.
- Errors
-
-
Tmux
Object – tmux reports no such pane.Not Found Exception
-
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.Session.GetActivePaneAsync.
tmux command
task materialThe tmux commands behind GetActivePaneAsync.
list-panes -s session scope, cmd_list_panes_session tmux C API
task materialThe C declarations in tmux that implement these commands.