Window.RotateAsync
Rotates the panes in this window.
Source and package
- Qualified name
-
LibTmux .Window. Rotate Async - Namespace
- LibTmux
- Declared in
Window- Package
- LibTmux
- Source
- src/LibTmux/Window.Lifecycle.cs
- async Task<Window> RotateAsync( Window
Rotation ? direction = null, bool keepDirection Zoom = false, CancellationToken cancellationToken = default ) -
- Parameters
-
-
direction(WindowRotation ?) – Which way to rotate, or null for tmux's default.Direction Default
null -
keepZoom(bool) – Whether a zoomed pane stays zoomed.Default
false -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A replacement handle carrying the state after rotation.
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.RotateAsync.
tmux command
task materialThe tmux commands behind RotateAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 9 other ports mappedSource-verified mappings for Rotate panes within a window. 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 Rotates the panes in this window. | This page |
| Python | libtmux Rotate pane positions in the window via $ tmux rotate-window. | None recorded in the model |
| TypeScript | window Rotate the panes within this window. | None recorded in the model |
| Rust | window Move the window's panes round one position, keeping the layout. | None recorded in the model |
| Go | tmux Rotate rotates pane positions in the receiver's exact winlink without selecting the window or promising client focus. It returns a freshly materialized exact Window preserving the receiver SessionID, rather than a canonical ID-only view. If the command succeeds but refresh fails, Rotate returns the receiver with that error; earlier failures return zero. | None recorded in the model |
| Java | io Rotates the panes within this window. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Server Shifts every pane in a window one position around the layout. | on Server |
| OCaml | Libtmux Rotate pane positions in the selected direction. Pane identities and running processes remain attached to their panes. | free function |
| Raku | Lib Rotate panes in the layout; reverse changes the rotation direction. | on WindowRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
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#.