# tty_clear_pane_line

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

```c
static void tty_clear_pane_line(struct tty *tty, const struct tty_ctx *ctx, u_int py, u_int px, u_int nx, u_int bg)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)
- `py` (`u_int`)
- `px` (`u_int`)
- `nx` (`u_int`)
- `bg` (`u_int`)

## Called by

- [`tty_cmd_clearcharacter`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearcharacter/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1711)
- [`tty_cmd_clearendofline`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearendofline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1787)
- [`tty_cmd_clearendofscreen`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearendofscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1971)
- [`tty_cmd_clearline`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1776)
- [`tty_cmd_clearstartofline`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearstartofline/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1796)
- [`tty_cmd_clearstartofscreen`](/en/tmux/3.7c/reference/c-function-tty_cmd_clearstartofscreen/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1996)

## Calls

- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1237)
- [`tty_check_overlay_range`](/en/tmux/3.7c/reference/c-function-tty_check_overlay_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1240)
- [`tty_clamp_line`](/en/tmux/3.7c/reference/c-function-tty-c-tty_clamp_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1239)
- [`tty_clear_line`](/en/tmux/3.7c/reference/c-function-tty-c-tty_clear_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L1245)

## Referenced declarations

- [`tty.client`](/en/tmux/3.7c/reference/c-struct-tty-client/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/3.7c/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`client.name`](/en/tmux/3.7c/reference/c-struct-client-name/) (attribute)
- [`visible_range.nx`](/en/tmux/3.7c/reference/c-struct-visible_range-nx/) (attribute)
- [`visible_range.px`](/en/tmux/3.7c/reference/c-struct-visible_range-px/) (attribute)
- [`visible_ranges.ranges`](/en/tmux/3.7c/reference/c-struct-visible_ranges-ranges/) (attribute)
- [`tty`](/en/tmux/3.7c/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.7c/reference/c-struct-tty_ctx/) (struct)
- [`visible_ranges.used`](/en/tmux/3.7c/reference/c-struct-visible_ranges-used/) (attribute)
