# tty_redraw_region

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1087
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty-c-tty_redraw_region/

```c
static void tty_redraw_region(struct tty *, const struct tty_ctx *)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)

## Called by

- [`tty_cmd_deleteline`](/en/tmux/latest/reference/c-function-tty_cmd_deleteline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1755)
- [`tty_cmd_insertline`](/en/tmux/latest/reference/c-function-tty_cmd_insertline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1727)
- [`tty_cmd_linefeed`](/en/tmux/latest/reference/c-function-tty_cmd_linefeed/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1848)
- [`tty_cmd_reverseindex`](/en/tmux/latest/reference/c-function-tty_cmd_reverseindex/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1816)
- [`tty_cmd_scrolldown`](/en/tmux/latest/reference/c-function-tty_cmd_scrolldown/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1930)
- [`tty_cmd_scrollup`](/en/tmux/latest/reference/c-function-tty_cmd_scrollup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1889)

## Calls

- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1097)
- [`tty_draw_pane`](/en/tmux/latest/reference/c-function-tty-c-tty_draw_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1105)

## Other function references

- [`tty_large_region`](/en/tmux/latest/reference/c-function-tty-c-tty_large_region/) (function)

## Referenced declarations

- [`tty.client`](/en/tmux/latest/reference/c-struct-tty-client/) (attribute)
- [`tty_ctx.flags`](/en/tmux/latest/reference/c-struct-tty_ctx-flags/) (attribute)
- [`client.name`](/en/tmux/latest/reference/c-struct-client-name/) (attribute)
- [`tty_ctx.orlower`](/en/tmux/latest/reference/c-struct-tty_ctx-orlower/) (attribute)
- [`tty_ctx.orupper`](/en/tmux/latest/reference/c-struct-tty_ctx-orupper/) (attribute)
- [`tty_ctx.redraw_cb`](/en/tmux/latest/reference/c-struct-tty_ctx-redraw_cb/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/latest/reference/c-struct-tty_ctx/) (struct)
- [`TTY_CTX_PANE_OBSCURED`](/en/tmux/latest/reference/c-define-tmux-h-tty_ctx_pane_obscured/) (constant)
