tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

function tmux

cmd_swap_window_exec

Source
Qualified name
cmd_swap_window_exec
Source
cmd-swap-window.c
static enum cmd_retval cmd_swap_window_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command swap-window

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_swap_window_entry, which reference it as a function pointer (a reference, not a call).

Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_swap_window_exec.

Calls

source calls 10

Declarations cmd_swap_window_exec calls directly.

Referenced by

references 1

Declarations that take cmd_swap_window_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 11

Types and data cmd_swap_window_exec names in its declaration.

In libtmux

These methods send swap-window.

Library methods that send tmux swap-window, by scope
Language Methods
Python Window.swap
Ruby WindowLink#swap
Lua WindowLink:swap
Julia swap_window
Erlang swap/3
Common Lisp client.swap-windows
TypeScript Window.swapWith
Rust Window.swap_with
Go Window.Swap
C# Window.SwapAsync
C++ Window::swap_with
Swift Server.swap(_:with:)
Raku WindowLinkRef.swap

No method in PowerShell, Elixir, Haskell, Java, Clojure, Kotlin, Scala, F#, OCaml, or Perl sends this command itself.

Esc

Type to search.

Reference previewOpen reference