# LIST_WINDOWS_WITH_SESSION_TEMPLATE

- **Language:** C
- **Kind:** constant
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-windows.c#L36
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-define-cmd-list-windows-c-list_windows_with_session_template/

```c
#define LIST_WINDOWS_WITH_SESSION_TEMPLATE "#{session_name}:"                  \
"#{window_index}: #{window_name}#{window_raw_flags} "   \
"(#{window_panes} panes) "              \
"[#{window_width}x#{window_height}] "
```

## Referenced by

- [`cmd_list_windows_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-windows-c-cmd_list_windows_exec/) (function)

## Referenced declarations

- [`window_panes`](/en/tmux/3.7c/reference/c-struct-window_panes/) (struct)
