Window.previous_layout
Cycle to the previous layout via $ tmux previous-layout.
Source and package
- Qualified name
-
libtmux.Window .previous _layout - Module
- libtmux
- Declared in
- Window
- Package
- libtmux
- Source
- src/libtmux/window.py
- Other languages
- PowerShell Julia Ruby Lua TypeScriptRustGo Java C#C++Swift Kotlin Scala F#
-
Description#
>>> pane1 = window.active_pane>>> pane2 = window.split()>>> window.previous_layout()Window(...)tmux command
previous-layoutIn other ports Apply a window's previous layout preset
- PowerShell No source-verified PowerShell equivalent is recorded for this operation.
- Julia No source-verified Julia equivalent is recorded for this operation.
- Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
- Rust
- Go
- Java
Window.applyLayoutrestores a named layout; there is no previous step - C#
- C++
- Swift
- Kotlin No source-verified Kotlin equivalent is recorded for this operation.
- Scala No source-verified Scala equivalent is recorded for this operation.
- F# No source-verified F# equivalent is recorded for this operation.
- PowerShell