# tmux_select:sessions/1

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

```
sessions(Snapshot)
-spec sessions(tmux_snapshot:t()) ->
                  t(tmux_model:session()).
```

Select captured sessions with their relationship and coverage context. Performs no I/O.

## Parameters

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