# tmux_pane:swap_options/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_pane.erl#L78
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_pane-swap_options-0/

```
-type swap_options() ::
          #{detach => boolean(), zoom => boolean()}.
```

Swap controls: detach defaults true; zoom maps to tmux -Z to retain zoom.
