Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

Window.SelectLastPaneAsync

Selects the pane that was last active.

Source and package
Qualified name
LibTmux.Window.SelectLastPaneAsync
Namespace
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Panes.cs
async Task<Pane?> SelectLastPaneAsync( PaneInputMode? inputMode = null, bool keepZoom = false, CancellationToken cancellationToken = default )

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
Returns

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

Recorded calls

source calls
No call edges in the C# model.

The 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.Window.SelectLastPaneAsync.

tmux command

task material

The tmux commands behind SelectLastPaneAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 6 other ports mapped

Source-verified mappings for Return to the pane that was active before. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Return to the pane that was active before in each port
PortAPIDiffers from C#
C# LibTmux.Window.SelectLastPaneAsync
Selects the pane that was last active.
This page
Python libtmux.Window.last_pane
Select the last (previously active) pane via $ tmux last-pane.
None recorded in the model
Rust window.Window.last_pane
Move to the pane that was active before this one, and return it.
None recorded in the model
Go tmux.Window.LastPane
LastPane targets the receiver's exact winlink. Its zero request makes the previously active pane active without selecting the window in its session. With an Input mode, tmux changes the previous pane's input state without selecting it; the returned Pane is still the freshly materialized active pane in the receiver context.
None recorded in the model
C++ libtmux::Window::select_last_pane
Go back to the pane that was selected before the current one, and answer with it.
readonly
Swift Server.selectLastPane(in:)
Returns to the pane that was active before the current one.
on Server
Raku LibTmux::Model::WindowRef.last-pane
Select the previous active pane in this physical window.
on WindowRef
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No TypeScript equivalent.

no equivalent on Window

No Java equivalent.

no equivalent on Window

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference