# cfg_show_causes

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L243
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-cfg_show_causes/

```c
void cfg_show_causes(struct session *s)
```

## Parameters

- `s` (`struct session *`)

## Called by

- [`cfg_done`](/en/tmux/3.2a/reference/c-function-cfg-c-cfg_done/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L55)
- [`cmd_new_session_exec`](/en/tmux/3.2a/reference/c-function-cmd-new-session-c-cmd_new_session_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-new-session.c#L338)

## Calls

- [`window_copy_add`](/en/tmux/3.2a/reference/c-function-window_copy_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L257)
- [`window_pane_set_mode`](/en/tmux/3.2a/reference/c-function-window_pane_set_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cfg.c#L255)

## Referenced declarations

- [`window.active`](/en/tmux/3.2a/reference/c-struct-window-active/) (attribute)
- [`cfg_causes`](/en/tmux/3.2a/reference/c-variable-cfg-c-cfg_causes/) (attribute)
- [`cfg_ncauses`](/en/tmux/3.2a/reference/c-variable-cfg-c-cfg_ncauses/) (attribute)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`window_mode_entry.mode`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-mode/) (attribute)
- [`window_pane.modes`](/en/tmux/3.2a/reference/c-struct-window_pane-modes/) (attribute)
- [`session`](/en/tmux/3.2a/reference/c-struct-session/) (struct)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`window_view_mode`](/en/tmux/3.2a/reference/c-variable-window_view_mode/) (attribute)
- [`window_mode_entry.wp`](/en/tmux/3.2a/reference/c-struct-window_mode_entry-wp/) (attribute)
