# screen_redraw_pane

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

```c
void screen_redraw_pane(struct client *c, struct window_pane *wp, int redraw_scrollbar_only)
```

## Parameters

- `c` (`struct client *`)
- `wp` (`struct window_pane *`)
- `redraw_scrollbar_only` (`int`)

## Called by

- [`server_client_check_redraw`](/en/tmux/latest/reference/c-function-server-client-c-server_client_check_redraw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2108)

## Calls

- [`screen_redraw_draw_pane`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L860)
- [`screen_redraw_draw_pane_scrollbar`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_draw_pane_scrollbar/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L863)
- [`screen_redraw_set_context`](/en/tmux/latest/reference/c-function-screen-redraw-c-screen_redraw_set_context/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L855)
- [`tty_reset`](/en/tmux/latest/reference/c-function-tty_reset/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L865)
- [`tty_sync_start`](/en/tmux/latest/reference/c-function-tty_sync_start/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L856)
- [`tty_update_mode`](/en/tmux/latest/reference/c-function-tty_update_mode/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L857)
- [`window_pane_show_scrollbar`](/en/tmux/latest/reference/c-function-window_pane_show_scrollbar/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L862)
- [`window_pane_visible`](/en/tmux/latest/reference/c-function-window_pane_visible/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen-redraw.c#L852)

## Referenced declarations

- [`screen_redraw_ctx.c`](/en/tmux/latest/reference/c-struct-screen_redraw_ctx-c/) (attribute)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`tty.mode`](/en/tmux/latest/reference/c-struct-tty-mode/) (attribute)
- [`client.tty`](/en/tmux/latest/reference/c-struct-client-tty/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
