# status_prompt_clear

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

```c
void status_prompt_clear(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`server_client_lost`](/en/tmux/3.2a/reference/c-function-server_client_lost/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L319)
- [`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#L1045)
- [`status_prompt_set`](/en/tmux/3.2a/reference/c-function-status_prompt_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/status.c#L566)

## Calls

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

## Referenced by

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

## Referenced declarations

- [`format_tree.c`](/en/tmux/3.2a/reference/c-struct-format_tree-c/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`CLIENT_ALLREDRAWFLAGS`](/en/tmux/3.2a/reference/c-define-tmux-h-client_allredrawflags/) (constant)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`tty.flags`](/en/tmux/3.2a/reference/c-struct-tty-flags/) (attribute)
- [`client.prompt_buffer`](/en/tmux/3.2a/reference/c-struct-client-prompt_buffer/) (attribute)
- [`client.prompt_data`](/en/tmux/3.2a/reference/c-struct-client-prompt_data/) (attribute)
- [`client.prompt_freecb`](/en/tmux/3.2a/reference/c-struct-client-prompt_freecb/) (attribute)
- [`client.prompt_last`](/en/tmux/3.2a/reference/c-struct-client-prompt_last/) (attribute)
- [`client.prompt_saved`](/en/tmux/3.2a/reference/c-struct-client-prompt_saved/) (attribute)
- [`client.prompt_string`](/en/tmux/3.2a/reference/c-struct-client-prompt_string/) (attribute)
- [`client.tty`](/en/tmux/3.2a/reference/c-struct-client-tty/) (attribute)
- [`TTY_FREEZE`](/en/tmux/3.2a/reference/c-define-tmux-h-tty_freeze/) (constant)
- [`TTY_NOCURSOR`](/en/tmux/3.2a/reference/c-define-tmux-h-tty_nocursor/) (constant)
