libtmux Reference MCP Search
On this page

LibTmux.Window.SelectLastPaneAsync

View as Markdown

Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Panes.cs
SelectLastPaneAsync ( inputMode : PaneInputMode? , keepZoom : bool , cancellationToken : CancellationToken ) Task<Pane?>
methodasync [source]
methodasync [source]
SelectLastPaneAsync

Selects the pane that was last active.

Asking for an input change makes tmux apply that to the last pane and leave the active pane alone, so the handle that comes back is the pane that was already active.

Parameters
  • inputMode ( PaneInputMode? ) – Whether to change the pane's input handling instead.

  • keepZoom ( bool ) – Whether a zoomed pane stays zoomed.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

The pane that is active afterwards, or null when none is.

0 declared, 0 inherited

Esc

Type to search.