attribute tmux
cmd_swap_window_entry
Source
- Qualified name
-
cmd_swap _window _entry - Source
- cmd-swap-window.c
- const struct cmd
_entry cmd_swap = { .name = "swap-window", .alias = "swapw", .args = { "ds:t:", 0, 0 }, .usage = "[-d] " "[-s src-window] [-t dst-window]" , .source = { 's', CMD_window _entry _FIND , 0x8 }, .target = { 't', CMD_WINDOW _FIND , 0 }, .flags = 0, .exec = cmd_WINDOW _swap };_window _exec -
tmux command
swap-window
Other function references
references 1Functions cmd_swap_window_entry takes as a pointer or callback. It does not call them.
- cmd_swap_window_exec function
Referenced declarations
type references 4Types and data cmd_swap_window_entry names in its declaration.
- args struct
- cmd_entry struct
- CMD_FIND_WINDOW constant
- window struct
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.