Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

method libtmux-dotnet latest

Window.SelectLastPaneAsync

Namespace LibTmux.Window.SelectLastPaneAsync LibTmux

Selects the pane that was last active.

View as Markdown

Source and package
Module
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Panes.cs
Other languages
Python Ruby Lua TypeScript RustGo Java C++Swift Kotlin Scala F#
SelectLastPaneAsync ( inputMode : PaneInputMode? , keepZoom : bool , cancellationToken : CancellationToken ) → Task<Pane?>
methodasync [source]

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

tmux command last-pane

In other ports Return to the pane that was active before
Esc

Type to search.