# screen_redraw_make_pane_status

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L404
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_make_pane_status/

```c
static int screen_redraw_make_pane_status(struct client *c, struct window_pane *wp, struct screen_redraw_ctx *rctx, int pane_lines)
```

## Parameters

- `c` (`struct client *`)
- `wp` (`struct window_pane *`)
- `rctx` (`struct screen_redraw_ctx *`)
- `pane_lines` (`int`)

## Called by

- [`screen_redraw_update`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_update/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L553)

## Calls

- [`format_defaults`](/en/tmux/3.2a/reference/c-function-format_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L418)
- [`format_draw`](/en/tmux/3.2a/reference/c-function-format_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L451)
- [`format_expand_time`](/en/tmux/3.2a/reference/c-function-format_expand_time/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L426)
- [`format_free`](/en/tmux/3.2a/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L455)
- [`grid_compare`](/en/tmux/3.2a/reference/c-function-grid_compare/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L457)
- [`options_get_string`](/en/tmux/3.2a/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L424)
- [`screen_free`](/en/tmux/3.2a/reference/c-function-screen_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L458)
- [`screen_init`](/en/tmux/3.2a/reference/c-function-screen_init/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L433)
- [`screen_redraw_border_set`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_border_set/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L445)
- [`screen_redraw_type_of_cell`](/en/tmux/3.2a/reference/c-function-screen-redraw-c-screen_redraw_type_of_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L444)
- [`screen_write_cell`](/en/tmux/3.2a/reference/c-function-screen_write_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L446)
- [`screen_write_cursormove`](/en/tmux/3.2a/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L450)
- [`screen_write_start`](/en/tmux/3.2a/reference/c-function-screen_write_start/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L436)
- [`screen_write_stop`](/en/tmux/3.2a/reference/c-function-screen_write_stop/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L452)
- [`style_apply`](/en/tmux/3.2a/reference/c-function-style_apply/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen-redraw.c#L421)

## Other function references

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

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.2a/reference/c-struct-grid_cell-attr/) (attribute)
- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`session.curw`](/en/tmux/3.2a/reference/c-struct-session-curw/) (attribute)
- [`FORMAT_PANE`](/en/tmux/3.2a/reference/c-define-tmux-h-format_pane/) (constant)
- [`FORMAT_STATUS`](/en/tmux/3.2a/reference/c-define-tmux-h-format_status/) (constant)
- [`screen.grid`](/en/tmux/3.2a/reference/c-struct-screen-grid/) (attribute)
- [`GRID_ATTR_CHARSET`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_attr_charset/) (constant)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`screen.mode`](/en/tmux/3.2a/reference/c-struct-screen-mode/) (attribute)
- [`window.options`](/en/tmux/3.2a/reference/c-struct-window-options/) (attribute)
- [`screen_redraw_ctx.pane_status`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx-pane_status/) (attribute)
- [`PANE_STATUS_TOP`](/en/tmux/3.2a/reference/c-define-tmux-h-pane_status_top/) (constant)
- [`screen_redraw_ctx`](/en/tmux/3.2a/reference/c-struct-screen_redraw_ctx/) (struct)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`window_pane.status_screen`](/en/tmux/3.2a/reference/c-struct-window_pane-status_screen/) (attribute)
- [`window_pane.status_size`](/en/tmux/3.2a/reference/c-struct-window_pane-status_size/) (attribute)
- [`window_pane.sx`](/en/tmux/3.2a/reference/c-struct-window_pane-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/3.2a/reference/c-struct-window_pane-sy/) (attribute)
- [`window_pane.window`](/en/tmux/3.2a/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
- [`window_pane.xoff`](/en/tmux/3.2a/reference/c-struct-window_pane-xoff/) (attribute)
- [`window_pane.yoff`](/en/tmux/3.2a/reference/c-struct-window_pane-yoff/) (attribute)
