Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

function LibTmux.jl latest

swap_window

Module LibTmux.swap_window LibTmux
Source and package
Module
LibTmux
Package
LibTmux
Source
src/topology.jl

Methods#

swap_window( connection::LibTmux.ControlConnection, first::LibTmux.WindowLinkRef, second::LibTmux.WindowLinkRef; select, kwargs... )[source]#

Swap two checked session/index links on the pinned daemon. Other links remain. Membership checks may race concurrent changes; they do not reserve either slot. select=false preserves selection where tmux permits. Return ControlResult .

swap_window(connection::ControlConnection, first::WindowLinkRef, second::WindowLinkRef; kwargs...)

swap_window( server::LibTmux.Server, first::LibTmux.WindowLinkRef, second::LibTmux.WindowLinkRef; select, kwargs... )[source]#

Swap the windows at two explicit links; other links retain their windows.

Esc

Type to search.

Reference preview Open reference