# status_prompt_replace_complete

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

```c
static int status_prompt_replace_complete(struct client *c, const char *s)
```

## Parameters

- `c` (`struct client *`)
- `s` (`const char *`)

## Called by

- [`status_prompt_key`](/en/tmux/3.2a/reference/c-function-status_prompt_key/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1104)

## Calls

- [`status_prompt_complete`](/en/tmux/3.2a/reference/c-function-status-c-status_prompt_complete/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1004)
- [`utf8_set`](/en/tmux/3.2a/reference/c-function-utf8_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1024)
- [`utf8_strlen`](/en/tmux/3.2a/reference/c-function-utf8_strlen/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L972)
- [`xreallocarray`](/en/tmux/3.2a/reference/c-function-xreallocarray/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L1019)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`utf8_data.data`](/en/tmux/3.2a/reference/c-struct-utf8_data-data/) (attribute)
- [`client.prompt_buffer`](/en/tmux/3.2a/reference/c-struct-client-prompt_buffer/) (attribute)
- [`client.prompt_index`](/en/tmux/3.2a/reference/c-struct-client-prompt_index/) (attribute)
- [`utf8_data.size`](/en/tmux/3.2a/reference/c-struct-utf8_data-size/) (attribute)
