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

Moves to the previous layout.

Source and package
Qualified name
LibTmux.Window.SelectPreviousLayoutAsync
Namespace
LibTmux
Declared in
Window
Package
LibTmux
Source
src/LibTmux/Window.Layout.cs
async Task<Window> SelectPreviousLayoutAsync( CancellationToken cancellationToken = default )
Parameters
Returns

A replacement handle carrying the new layout.

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

tmux command

task material

The tmux commands behind SelectPreviousLayoutAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 7 other ports mapped

Source-verified mappings for Apply a window's previous layout preset. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Apply a window's previous layout preset in each port
PortAPIDiffers from C#
C# LibTmux.Window.SelectPreviousLayoutAsync
Moves to the previous layout.
This page
Python libtmux.Window.previous_layout
Cycle to the previous layout via $ tmux previous-layout.
None recorded in the model
TypeScript window.Window.previousLayout
Apply this window's previous layout preset.
None recorded in the model
Rust window.Window.previous_layout
Move to the previous named layout, and return the window.
None recorded in the model
Go tmux.Window.PreviousLayout
PreviousLayout applies the previous preset layout to the receiver's exact winlink. It changes pane geometry without selecting or refreshing the window. A transport or context error can be delivery-ambiguous; the void result cannot carry partial state and no rollback is attempted.
None recorded in the model
C++ libtmux::Window::previous_layout readonly
Swift Server.previousLayout(_:) on Server
Raku LibTmux::Model::WindowRef.previous-layout
Apply the previous tmux layout to this physical window.
on WindowRef
No Haskell equivalent.

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

No Java equivalent.

Window.applyLayout restores a named layout; there is no previous step

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