# mode_tree_display_help

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1167
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-mode-tree-c-mode_tree_display_help/

```c
static void mode_tree_display_help(struct mode_tree_data *mtd, struct client *c)
```

## Parameters

- `mtd` (`struct mode_tree_data *`)
- `c` (`struct client *`)

## Called by

- [`mode_tree_key`](/en/tmux/latest/reference/c-function-mode_tree_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1296)

## Calls

- [`cmd_template_replace`](/en/tmux/latest/reference/c-function-cmd_template_replace/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1200)
- [`popup_write`](/en/tmux/latest/reference/c-function-popup_write/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1198)

## Other function references

- [`popup_display`](/en/tmux/latest/reference/c-function-popup_display/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`BOX_LINES_DEFAULT`](/en/tmux/latest/reference/c-enum-box_lines-box_lines_default/) (constant)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`mode_tree_data`](/en/tmux/latest/reference/c-struct-mode_tree_data/) (struct)
- [`MODE_TREE_HELP_DEFAULT_WIDTH`](/en/tmux/latest/reference/c-define-mode-tree-c-mode_tree_help_default_width/) (constant)
- [`mode_tree_help_end`](/en/tmux/latest/reference/c-variable-mode-tree-c-mode_tree_help_end/) (attribute)
- [`mode_tree_help_start`](/en/tmux/latest/reference/c-variable-mode-tree-c-mode_tree_help_start/) (attribute)
- [`POPUP_CLOSEANYKEY`](/en/tmux/latest/reference/c-define-tmux-h-popup_closeanykey/) (constant)
- [`POPUP_NOJOB`](/en/tmux/latest/reference/c-define-tmux-h-popup_nojob/) (constant)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`tty.sx`](/en/tmux/latest/reference/c-struct-tty-sx/) (attribute)
- [`tty.sy`](/en/tmux/latest/reference/c-struct-tty-sy/) (attribute)
- [`client.tty`](/en/tmux/latest/reference/c-struct-client-tty/) (attribute)
