# tmux_window_link:swap_options/0

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

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

Maps detach to tmux's -d flag, default true.
