# status_message_clear

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

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

## Parameters

- `c` (`struct client *`)

## Called by

- [`server_client_handle_key`](/en/tmux/3.7c/reference/c-function-server_client_handle_key/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L1474)
- [`server_client_lost`](/en/tmux/3.7c/reference/c-function-server_client_lost/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L444)
- [`status_message_callback`](/en/tmux/3.7c/reference/c-function-status-c-status_message_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L534)
- [`status_message_set`](/en/tmux/3.7c/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L479)
- [`status_prompt_set`](/en/tmux/3.7c/reference/c-function-status_prompt_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L703)

## Calls

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

## Referenced by

- [`server_client_detach`](/en/tmux/3.7c/reference/c-function-server_client_detach/) (function)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`CLIENT_ALLREDRAWFLAGS`](/en/tmux/3.7c/reference/c-define-tmux-h-client_allredrawflags/) (constant)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`tty.flags`](/en/tmux/3.7c/reference/c-struct-tty-flags/) (attribute)
- [`client.message_string`](/en/tmux/3.7c/reference/c-struct-client-message_string/) (attribute)
- [`client.prompt_string`](/en/tmux/3.7c/reference/c-struct-client-prompt_string/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
- [`TTY_FREEZE`](/en/tmux/3.7c/reference/c-define-tmux-h-tty_freeze/) (constant)
- [`TTY_NOCURSOR`](/en/tmux/3.7c/reference/c-define-tmux-h-tty_nocursor/) (constant)
