Window.SelectLastPaneAsync
Selects the pane that was last active.
Source and package
- SelectLastPaneAsync ( inputMode : Pane
Input ? , keepZoom : bool , cancellationToken : CancellationMode Token ) Task<Pane?> -
Description#
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 ( Pane
Input ? ) – Whether to change the pane's input handling instead.Mode -
keepZoom ( bool ) – Whether a zoomed pane stays zoomed.
-
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
The pane that is active afterwards, or null when none is.
tmux command
last-paneIn other ports Return to the pane that was active before
- Python
libtmux.Window.last_pane - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript no equivalent on
Window - Rust
window.Window.last_pane - Go
tmux.Window.LastPane - Java no equivalent on
Window - C++
libtmux::Window::select_last_pane - Swift
Server.selectLastPane(in:) - Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.