# tmux_select:window_links/1

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/d1b6308440cf9eb8f6647e7ae434bce60e849368/apps/libtmux_erlang/src/tmux_select.erl#L76
- **Page:** https://libtmux.org/en/erlang/latest/reference/tmux_select-window_links-1/

```
window_links(Snapshot)
-spec window_links(tmux_snapshot:t()) ->
                      t(tmux_model:window_link()).
```

Select all captured session memberships, retaining repeated physical windows and session-relative indexes. Performs no I/O.

## Parameters

- `Snapshot` (`tmux_snapshot:t()`)
