# format_cb_window_active_sessions_list

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L743
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-format-c-format_cb_window_active_sessions_list/

```c
static void * format_cb_window_active_sessions_list(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L757)
- [`xasprintf`](/en/tmux/3.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L768)

## Referenced declarations

- [`session.curw`](/en/tmux/3.7c/reference/c-struct-session-curw/) (attribute)
- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`session.name`](/en/tmux/3.7c/reference/c-struct-session-name/) (attribute)
- [`winlink.session`](/en/tmux/3.7c/reference/c-struct-winlink-session/) (attribute)
- [`winlink.window`](/en/tmux/3.7c/reference/c-struct-winlink-window/) (attribute)
- [`window.winlinks`](/en/tmux/3.7c/reference/c-struct-window-winlinks/) (attribute)
- [`format_tree.wl`](/en/tmux/3.7c/reference/c-struct-format_tree-wl/) (attribute)
