Core LibraryunreleasedAPI reference

Choose documentation 3

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

MoreLess about this notice

function LibTmux.jl

swap_window

Source and package
Qualified name
LibTmux.swap_window
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.

Recorded calls

source calls
No call edges in the Julia model.

The Julia 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.swap_window.

tmux command

task material

The tmux commands behind swap_window.

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference