# cmd_list_keys_print_notes

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

```c
static int cmd_list_keys_print_notes(struct cmdq_item *item, struct args *args, const char *tablename, u_int keywidth, key_code only, const char *prefix)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `args` (`struct args *`)
- `tablename` (`const char *`)
- `keywidth` (`u_int`)
- `only` (`key_code`)
- `prefix` (`const char *`)

## 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#L190)

## Calls

- [`args_has`](/en/tmux/3.2a/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L116)
- [`cmd_list_print`](/en/tmux/3.2a/reference/c-function-cmd_list_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L112)
- [`cmdq_get_target_client`](/en/tmux/3.2a/reference/c-function-cmdq_get_target_client/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L89)
- [`cmdq_print`](/en/tmux/3.2a/reference/c-function-cmdq_print/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L120)
- [`key_bindings_first`](/en/tmux/3.2a/reference/c-function-key_bindings_first/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L99)
- [`key_bindings_get_table`](/en/tmux/3.2a/reference/c-function-key_bindings_get_table/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L96)
- [`key_bindings_next`](/en/tmux/3.2a/reference/c-function-key_bindings_next/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L105)
- [`key_string_lookup_key`](/en/tmux/3.2a/reference/c-function-key_string_lookup_key/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L109)
- [`status_message_set`](/en/tmux/3.2a/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L117)
- [`utf8_padcstr`](/en/tmux/3.2a/reference/c-function-utf8_padcstr/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L115)
- [`xstrdup`](/en/tmux/3.2a/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-list-keys.c#L114)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`key_binding.cmdlist`](/en/tmux/3.2a/reference/c-struct-key_binding-cmdlist/) (attribute)
- [`cmdq_item`](/en/tmux/3.2a/reference/c-struct-cmdq_item/) (struct)
- [`key_binding.key`](/en/tmux/3.2a/reference/c-struct-key_binding-key/) (attribute)
- [`key_code`](/en/tmux/3.2a/reference/c-typedef-key_code/) (typealias)
- [`KEYC_IS_MOUSE`](/en/tmux/3.2a/reference/c-define-tmux-h-keyc_is_mouse/) (constant)
- [`KEYC_UNKNOWN`](/en/tmux/3.2a/reference/c-define-tmux-h-keyc_unknown/) (constant)
- [`key_binding.note`](/en/tmux/3.2a/reference/c-struct-key_binding-note/) (attribute)
