# cmd_list_print

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

```c
char * cmd_list_print(struct cmd_list *cmdlist, int escaped)
```

## Parameters

- `cmdlist` (`struct cmd_list *`)
- `escaped` (`int`)

## Called by

- [`cmd_list_keys_exec`](/en/tmux/3.2a/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L290)
- [`cmd_list_keys_print_notes`](/en/tmux/3.2a/reference/c-function-cmd-list-keys-c-cmd_list_keys_print_notes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L112)
- [`options_value_to_string`](/en/tmux/3.2a/reference/c-function-options-c-options_value_to_string/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options.c#L139)
- [`window_customize_build_keys`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_build_keys/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L491)
- [`window_customize_draw_key`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw_key/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L626)
- [`window_customize_set_key`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_set_key/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L1255)

## Calls

- [`cmd_print`](/en/tmux/3.2a/reference/c-function-cmd_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd.c#L633)
- [`xcalloc`](/en/tmux/3.2a/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd.c#L630)
- [`xrealloc`](/en/tmux/3.2a/reference/c-function-xrealloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd.c#L636)

## Referenced by

- [`key_bindings_add`](/en/tmux/3.2a/reference/c-function-key_bindings_add/) (function)
- [`tty_cmd_erasecharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_erasecharacter/) (function)

## Referenced declarations

- [`cmd_list`](/en/tmux/3.2a/reference/c-struct-cmd_list/) (struct)
- [`cmd.group`](/en/tmux/3.2a/reference/c-struct-cmd-group/) (attribute)
- [`cmd_list.list`](/en/tmux/3.2a/reference/c-struct-cmd_list-list/) (attribute)
- [`cmd.qentry`](/en/tmux/3.2a/reference/c-struct-cmd-qentry/) (attribute)
