# status_redraw

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

```c
int status_redraw(struct client *c)
```

## Parameters

- `c` (`struct client *`)

## Called by

- [`screen_redraw_update`](/en/tmux/3.7c/reference/c-function-screen-redraw-c-screen_redraw_update/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L750)

## Calls

- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L375)
- [`format_defaults`](/en/tmux/3.7c/reference/c-function-format_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L387)
- [`format_draw`](/en/tmux/3.7c/reference/c-function-format_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L441)
- [`format_expand_time`](/en/tmux/3.7c/reference/c-function-format_expand_time/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L427)
- [`format_free`](/en/tmux/3.7c/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L451)
- [`grid_cells_equal`](/en/tmux/3.7c/reference/c-function-grid_cells_equal/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L397)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L371)
- [`options_array_get`](/en/tmux/3.7c/reference/c-function-options_array_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L419)
- [`options_get`](/en/tmux/3.7c/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L411)
- [`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#L391)
- [`screen_resize`](/en/tmux/3.7c/reference/c-function-screen_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L405)
- [`screen_write_cursormove`](/en/tmux/3.7c/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L417)
- [`screen_write_putc`](/en/tmux/3.7c/reference/c-function-screen_write_putc/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L414)
- [`screen_write_start`](/en/tmux/3.7c/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L408)
- [`screen_write_stop`](/en/tmux/3.7c/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L448)
- [`status_line_size`](/en/tmux/3.7c/reference/c-function-status_line_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L378)
- [`style_apply`](/en/tmux/3.7c/reference/c-function-style_apply/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L390)
- [`style_ranges_free`](/en/tmux/3.7c/reference/c-function-style_ranges_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L440)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`status_line.active`](/en/tmux/3.7c/reference/c-struct-status_line-active/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`format_tree.c`](/en/tmux/3.7c/reference/c-struct-format_tree-c/) (attribute)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`CLIENT_STATUSFORCE`](/en/tmux/3.7c/reference/c-define-tmux-h-client_statusforce/) (constant)
- [`COLOUR_DEFAULT`](/en/tmux/3.7c/reference/c-define-tmux-h-colour_default/) (constant)
- [`status_line.entries`](/en/tmux/3.7c/reference/c-struct-status_line-entries/) (attribute)
- [`style_line_entry.expanded`](/en/tmux/3.7c/reference/c-struct-style_line_entry-expanded/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`client.flags`](/en/tmux/3.7c/reference/c-struct-client-flags/) (attribute)
- [`format_tree.flags`](/en/tmux/3.7c/reference/c-struct-format_tree-flags/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`FORMAT_FORCE`](/en/tmux/3.7c/reference/c-define-tmux-h-format_force/) (constant)
- [`FORMAT_NONE`](/en/tmux/3.7c/reference/c-define-tmux-h-format_none/) (constant)
- [`FORMAT_STATUS`](/en/tmux/3.7c/reference/c-define-tmux-h-format_status/) (constant)
- [`session.options`](/en/tmux/3.7c/reference/c-struct-session-options/) (attribute)
- [`style_line_entry.ranges`](/en/tmux/3.7c/reference/c-struct-style_line_entry-ranges/) (attribute)
- [`format_tree.s`](/en/tmux/3.7c/reference/c-struct-format_tree-s/) (attribute)
- [`status_line.screen`](/en/tmux/3.7c/reference/c-struct-status_line-screen/) (attribute)
- [`screen_size_x`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_x/) (constant)
- [`screen_size_y`](/en/tmux/3.7c/reference/c-define-tmux-h-screen_size_y/) (constant)
- [`client.session`](/en/tmux/3.7c/reference/c-struct-client-session/) (attribute)
- [`client.status`](/en/tmux/3.7c/reference/c-struct-client-status/) (attribute)
- [`options_value.string`](/en/tmux/3.7c/reference/c-union-options_value-string/) (attribute)
- [`status_line.style`](/en/tmux/3.7c/reference/c-struct-status_line-style/) (attribute)
- [`tty.sx`](/en/tmux/3.7c/reference/c-struct-tty-sx/) (attribute)
- [`tty.sy`](/en/tmux/3.7c/reference/c-struct-tty-sy/) (attribute)
- [`client.tty`](/en/tmux/3.7c/reference/c-struct-client-tty/) (attribute)
