Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

window.Window.swap_with

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
crates/libtmux/src/window.rs
Other languages
PythonTypeScriptGo Java .NETC++Swift
swap_with ( mut , other : &Self ) → Result<&mut Self, Error>
method [source]
method [source]
swap_with

Swap this window's position with another.

Errors

Returns Error::ServerMismatch when other belongs to another server, or an error when tmux refuses the swap.

In other ports Exchange two windows

0 declared, 0 inherited

Esc

Type to search.