ConstOptionaloptions: {Optional Readonlydetached?: booleanDo not change the active pane (-d).
Optional Readonlydown?: booleanSwap with the next pane when no source is given (-D).
Optional ReadonlykeepZoomed?: booleanKeep the window zoomed if it was zoomed (-Z).
Optional ReadonlysourcePane?: stringSource pane; defaults to the marked pane, else current (-s).
Optional ReadonlytargetPane?: stringDestination pane to swap with (-t).
Optional Readonlyup?: booleanSwap with the previous pane when no source is given (-U).
An empty string on success.
Swap two panes (
tmux swap-pane).