Window.last_pane
Select the last (previously active) pane via $ tmux last-pane.
Source and package
-
Examples#
>>> pane1 = window.active_pane>>> pane2 = window.split()>>> pane2.select()Pane(...)>>> result = window.last_pane()- Parameters
- Returns
-
Paneor None The selected pane, or None if no last pane exists.
tmux command
last-paneIn other ports Return to the pane that was active before
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- 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
- Go
- Java no equivalent on
Window - C#
- C++
- Swift
- 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.