libtmux Reference MCP Search
On this page

Server.rotate(_:upward:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Navigation.swift
rotate(_:upward:) ( window : Window , upward : Bool ) ()
methodasync [source]
methodasync [source]
rotate(_:upward:)

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. false sends them the other way.
Raises

0 declared, 0 inherited

Esc

Type to search.