tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

tmux C API

function tmux

cmd_swap_pane_exec

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

tmux command swap-pane

Call neighborhood

source calls

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

Called by

None recorded. Reached through cmd_swap_pane_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_pane_exec.

Calls

source calls 16

Declarations cmd_swap_pane_exec calls directly.

Referenced by

references 1

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

Referenced declarations

type references 32

Types and data cmd_swap_pane_exec names in its declaration.

In libtmux

These methods send swap-pane.

Library methods that send tmux swap-pane, by scope
Language Methods
Python Pane.swap
Ruby Pane#swap
Lua Pane:swap
Julia swap_pane
Erlang swap/3
Common Lisp client.swap-panes
TypeScript Pane.swapWith
Rust Pane.swap_with
Go Pane.Swap
Java Pane.swapWith
Kotlin Pane.swapWith
Scala cats.Pane.swapWith scaladsl.Pane.swapWith
C# Pane.SwapAsync
C++ Pane::swap_with
Swift Server.swap(_:with:)
OCaml swap_panes swap_panes
Raku PaneRef.swap

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

Esc

Type to search.

Reference previewOpen reference