# screen_redraw_update

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L737
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_update/

```c
static uint64_t screen_redraw_update(struct screen_redraw_ctx *ctx, uint64_t flags)
```

## Parameters

- `ctx` (`struct screen_redraw_ctx *`)
- `flags` (`uint64_t`)

## Called by

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

## Calls

- [`screen_redraw_make_pane_status`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_make_pane_status/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L761)
- [`status_message_redraw`](/en/tmux/latest/reference/c-function-status_message_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L746)
- [`status_prompt_redraw`](/en/tmux/latest/reference/c-function-status_prompt_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L748)
- [`status_redraw`](/en/tmux/latest/reference/c-function-status_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L750)

## Referenced declarations

- [`screen_redraw_ctx.c`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`CLIENT_REDRAWBORDERS`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawborders/) (constant)
- [`CLIENT_REDRAWOVERLAY`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawoverlay/) (constant)
- [`CLIENT_REDRAWSTATUS`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawstatus/) (constant)
- [`CLIENT_REDRAWSTATUSALWAYS`](/en/tmux/latest/reference/c-define-tmux-h-client_redrawstatusalways/) (constant)
- [`session.curw`](/en/tmux/latest/reference/c-struct-session-curw/) (attribute)
- [`window_pane.entry`](/en/tmux/latest/reference/c-struct-window_pane-entry/) (attribute)
- [`window_pane.flags`](/en/tmux/latest/reference/c-struct-window_pane-flags/) (attribute)
- [`client.message_string`](/en/tmux/latest/reference/c-struct-client-message_string/) (attribute)
- [`client.overlay_draw`](/en/tmux/latest/reference/c-struct-client-overlay_draw/) (attribute)
- [`screen_redraw_ctx.pane_lines`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-pane_lines/) (attribute)
- [`screen_redraw_ctx.pane_status`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-pane_status/) (attribute)
- [`PANE_STATUS_OFF`](/en/tmux/latest/reference/c-define-tmux-h-pane_status_off/) (constant)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`client.prompt_string`](/en/tmux/latest/reference/c-struct-client-prompt_string/) (attribute)
- [`screen_redraw_ctx`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/latest/reference/c-struct-client-session/) (attribute)
- [`winlink.window`](/en/tmux/latest/reference/c-struct-winlink-window/) (attribute)
