Window.SelectPreviousLayoutAsync
Moves to the previous layout.
Source and package
- Qualified name
-
LibTmux .Window. Select Previous Layout Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Layout.cs
- async Task<Window> SelectPreviousLayoutAsync( Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A replacement handle carrying the new layout.
Recorded calls
source callsThe 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 materialThe tmux commands behind SelectPreviousLayoutAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 7 other ports mappedSource-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.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Moves to the previous layout. | This page |
| Python | libtmux Cycle to the previous layout via $ tmux previous-layout. | None recorded in the model |
| TypeScript | window Apply this window's previous layout preset. | None recorded in the model |
| Rust | window Move to the previous named layout, and return the window. | None recorded in the model |
| Go | tmux 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:: | readonly |
| Swift | Server | on Server |
| Raku | Lib Apply the previous tmux layout to this physical window. | on WindowRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
Window.applyLayout restores a named layout; there is no previous step
No direct public OCaml equivalent is recorded for this operation.
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#.