# tty_cmd_redrawline

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

```c
void tty_cmd_redrawline(struct tty *tty, const struct tty_ctx *ctx)
```

## Parameters

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

## Calls

- [`tty_check_overlay_range`](/en/tmux/latest/reference/c-function-tty_check_overlay_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1443)
- [`tty_clamp_line`](/en/tmux/latest/reference/c-function-tty-c-tty_clamp_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1441)
- [`tty_draw_line`](/en/tmux/latest/reference/c-function-tty_draw_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1448)

## Referenced by

- [`screen_write_redraw_line`](/en/tmux/latest/reference/c-function-screen-write-c-screen_write_redraw_line/) (function)

## Referenced declarations

- [`tty_ctx.defaults`](/en/tmux/latest/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`visible_range.nx`](/en/tmux/latest/reference/c-struct-visible_range-nx/) (attribute)
- [`tty_ctx.ocx`](/en/tmux/latest/reference/c-struct-tty_ctx-ocx/) (attribute)
- [`tty_ctx.ocy`](/en/tmux/latest/reference/c-struct-tty_ctx-ocy/) (attribute)
- [`tty_ctx.palette`](/en/tmux/latest/reference/c-struct-tty_ctx-palette/) (attribute)
- [`visible_range.px`](/en/tmux/latest/reference/c-struct-visible_range-px/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/latest/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`tty_ctx.s`](/en/tmux/latest/reference/c-struct-tty_ctx-s/) (attribute)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/latest/reference/c-struct-tty_ctx/) (struct)
- [`visible_ranges.used`](/en/tmux/latest/reference/c-struct-visible_ranges-used/) (attribute)
