cmd_swap_window_exec
Source
- Qualified name
-
cmd_swap _window _exec - Source
- cmd-swap-window.c
-
tmux command
swap-window
Call neighborhood
source callsDirect 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 10Declarations cmd_swap_window_exec calls directly.
- args_has function Call site ↗
- cmd_get_args function Call site ↗
- cmdq_error function Call site ↗
- cmdq_get_source function Call site ↗
- cmdq_get_target function Call site ↗
- recalculate_sizes function Call site ↗
- server_redraw_session_group function Call site ↗
- session_group_contains function Call site ↗
- session_group_synchronize_from function Call site ↗
- session_select function Call site ↗
Referenced by
references 1Declarations that take cmd_swap_window_exec as a pointer or callback: a reference, not a call.
- cmd_swap_window_entry attribute
Referenced declarations
type references 11Types and data cmd_swap_window_exec names in its declaration.
- cmd struct
- CMD_RETURN_ERROR constant
- CMD_RETURN_NORMAL constant
- cmd_retval enum
- cmdq_item struct
- winlink.idx attribute
- marked_pane attribute
- cmd_find_state.s attribute
- winlink.window attribute
- window.winlinks attribute
- cmd_find_state.wl attribute
In libtmux
These methods send swap-window.
| Language | Methods |
|---|---|
| Python | Window |
| Ruby | Window |
| Lua | Window |
| Julia | swap |
| Erlang | swap/3 |
| Common Lisp | client |
| TypeScript | Window |
| Rust | Window |
| Go | Window |
| C# | Window |
| C++ | Window:: |
| Swift | Server |
| Raku | Window |
No method in PowerShell, Elixir, Haskell, Java, Clojure, Kotlin, Scala, F#, OCaml, or Perl sends this command itself.