On this page
Server.rotate(_:upward:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Navigation.swift
-
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
- Parameters:
0 declared, 0 inherited