Server.rotate(_:upward:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Navigation.swift
- Other languages
- Python Ruby Lua TypeScriptRustGoJava.NETC++
-
Shifts every pane in a window one position around the layout.
The layout itself is untouched: the panes move through its positions, each taking the size and place of its neighbour. Ids do not change, so panes you already hold stay valid — but their indices do, which is what makes this different from
swap(_:with:)-(Pane,Pane).- Parameters:
- window: the window whose panes move.
- upward: each pane takes the next numerically lower position, which is tmux's own default.
falsesends them the other way.
- Raises
In other ports Rotate panes within a window
- Python
libtmux.Window.rotate - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
window.Window.rotate - Rust
window.Window.rotate - Go
tmux.Window.Rotate - Java
io.github.libtmux.Window.Window.rotate - .NET
LibTmux.Window.RotateAsync - C++
libtmux::Window::rotate
- Parameters:
0 declared, 0 inherited