# status_message_set

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

```c
void status_message_set(struct client *c, int delay, int ignore_styles, int ignore_keys, int no_freeze, const char *fmt,...)
```

## Parameters

- `c` (`struct client *`)
- `delay` (`int`)
- `ignore_styles` (`int`)
- `ignore_keys` (`int`)
- `no_freeze` (`int`)
- `fmt` (`const char *`)
- `` (`...`)

## Called by

- [`alerts_set_message`](/en/tmux/3.7c/reference/c-function-alerts-c-alerts_set_message/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/alerts.c#L318)
- [`cmd_display_message_exec`](/en/tmux/3.7c/reference/c-function-cmd-display-message-c-cmd_display_message_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-display-message.c#L155)
- [`cmd_if_shell_callback`](/en/tmux/3.7c/reference/c-function-cmd-if-shell-c-cmd_if_shell_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-if-shell.c#L160)
- [`cmd_list_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-list-keys-c-cmd_list_keys_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-list-keys.c#L241)
- [`cmd_run_shell_timer`](/en/tmux/3.7c/reference/c-function-cmd-run-shell-c-cmd_run_shell_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-run-shell.c#L212)
- [`cmdq_error`](/en/tmux/3.7c/reference/c-function-cmdq_error/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-queue.c#L895)
- [`mode_tree_run_command`](/en/tmux/3.7c/reference/c-function-mode_tree_run_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/mode-tree.c#L1481)
- [`window_copy_command`](/en/tmux/3.7c/reference/c-function-window-copy-c-window_copy_command/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-copy.c#L3482)
- [`window_customize_set_command_callback`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_command_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1227)
- [`window_customize_set_option_callback`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_option_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1024)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L471)
- [`options_get_number`](/en/tmux/3.7c/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L489)
- [`server_add_message`](/en/tmux/3.7c/reference/c-function-server_add_message/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L474)
- [`status_message_clear`](/en/tmux/3.7c/reference/c-function-status_message_clear/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L479)
- [`status_push_screen`](/en/tmux/3.7c/reference/c-function-status-c-status_push_screen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L480)
- [`xvasprintf`](/en/tmux/3.7c/reference/c-function-xvasprintf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L468)

## Other function references

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

## 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_REDRAWSTATUS`](/en/tmux/3.7c/reference/c-define-tmux-h-client_redrawstatus/) (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_ignore_keys`](/en/tmux/3.7c/reference/c-struct-client-message_ignore_keys/) (attribute)
- [`client.message_ignore_styles`](/en/tmux/3.7c/reference/c-struct-client-message_ignore_styles/) (attribute)
- [`client.message_string`](/en/tmux/3.7c/reference/c-struct-client-message_string/) (attribute)
- [`client.message_timer`](/en/tmux/3.7c/reference/c-struct-client-message_timer/) (attribute)
- [`client.name`](/en/tmux/3.7c/reference/c-struct-client-name/) (attribute)
- [`session.options`](/en/tmux/3.7c/reference/c-struct-session-options/) (attribute)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (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)
