# status_prompt_complete

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2163
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete/

```c
static char * status_prompt_complete(struct client *, const char *, u_int)
```

## Parameters

- `c` (`struct client *`)
- `word` (`const char *`)
- `offset` (`u_int`)

## Called by

- [`status_prompt_replace_complete`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_replace_complete/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L1291)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2236)
- [`session_find`](/en/tmux/3.7c/reference/c-function-session_find/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2221)
- [`status_prompt_complete_list`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_list/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2180)
- [`status_prompt_complete_prefix`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_prefix/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2186)
- [`status_prompt_complete_session`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_session/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2210)
- [`status_prompt_complete_window_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_window_menu/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2202)
- [`xasprintf`](/en/tmux/3.7c/reference/c-function-xasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2184)
- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L2219)

## Other function references

- [`status_prompt_complete_list_menu`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_list_menu/) (function)
- [`status_prompt_complete_sort`](/en/tmux/3.7c/reference/c-function-status-c-status_prompt_complete_sort/) (function)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`client.prompt_type`](/en/tmux/3.7c/reference/c-struct-client-prompt_type/) (attribute)
- [`PROMPT_TYPE_TARGET`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_target/) (constant)
- [`PROMPT_TYPE_WINDOW_TARGET`](/en/tmux/3.7c/reference/c-enum-prompt_type-prompt_type_window_target/) (constant)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
