# status_prompt_complete_list_menu

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

```c
static int status_prompt_complete_list_menu(struct client *c, char **list, u_int size, u_int offset, char flag)
```

## Parameters

- `c` (`struct client *`)
- `list` (`char **`)
- `size` (`u_int`)
- `offset` (`u_int`)
- `flag` (`char`)

## Calls

- [`menu_add_item`](/en/tmux/3.2a/reference/c-function-menu_add_item/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1553)
- [`menu_create`](/en/tmux/3.2a/reference/c-function-menu_create/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1548)
- [`menu_free`](/en/tmux/3.2a/reference/c-function-menu_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1568)
- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1556)
- [`status_line_size`](/en/tmux/3.2a/reference/c-function-status_line_size/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1527)
- [`utf8_cstrwidth`](/en/tmux/3.2a/reference/c-function-utf8_cstrwidth/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1560)
- [`xmalloc`](/en/tmux/3.2a/reference/c-function-xmalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1535)

## Other function references

- [`menu_display`](/en/tmux/3.2a/reference/c-function-menu_display/) (function)
- [`status_prompt_menu_callback`](/en/tmux/3.2a/reference/c-function-status-c-status_prompt_menu_callback/) (function)

## Referenced by

- [`status_prompt_complete`](/en/tmux/3.2a/reference/c-function-status-c-status_prompt_complete/) (function)

## Referenced declarations

- [`status_prompt_menu.c`](/en/tmux/3.2a/reference/c-struct-status_prompt_menu-c/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`menu_item.command`](/en/tmux/3.2a/reference/c-struct-menu_item-command/) (attribute)
- [`status_prompt_menu.flag`](/en/tmux/3.2a/reference/c-struct-status_prompt_menu-flag/) (attribute)
- [`menu_item.key`](/en/tmux/3.2a/reference/c-struct-menu_item-key/) (attribute)
- [`status_prompt_menu.list`](/en/tmux/3.2a/reference/c-struct-status_prompt_menu-list/) (attribute)
- [`MENU_NOMOUSE`](/en/tmux/3.2a/reference/c-define-tmux-h-menu_nomouse/) (constant)
- [`MENU_TAB`](/en/tmux/3.2a/reference/c-define-tmux-h-menu_tab/) (constant)
- [`menu_item.name`](/en/tmux/3.2a/reference/c-struct-menu_item-name/) (attribute)
- [`session.options`](/en/tmux/3.2a/reference/c-struct-session-options/) (attribute)
- [`client.prompt_string`](/en/tmux/3.2a/reference/c-struct-client-prompt_string/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`status_prompt_menu.size`](/en/tmux/3.2a/reference/c-struct-status_prompt_menu-size/) (attribute)
- [`status_prompt_menu.start`](/en/tmux/3.2a/reference/c-struct-status_prompt_menu-start/) (attribute)
- [`tty.sy`](/en/tmux/3.2a/reference/c-struct-tty-sy/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
