Window.select_last_pane
Go back to the pane that was selected before the current one, and answer with it.
Source and package
- Qualified name
-
libtmux::Window:: select _last _pane - Namespace
- libtmux
- Declared in
Window- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScript RustGo Java C#Swift Kotlin Scala OCaml F# Clojure
-
Description#
Server state, like the window equivalent: nothing in a listing says which pane that was. A window holding one pane is refused rather than reselecting it, which is what tmux does.
tmux command#
The tmux commands behind select_last_pane.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Return to the pane that was active before
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | no equivalent on Window |
| Rust | window |
| Go | tmux |
| Java | no equivalent on Window |
| C# | Lib |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.