# grid_empty_line

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

```c
void grid_empty_line(struct grid *gd, u_int py, u_int bg)
```

## Parameters

- `gd` (`struct grid *`)
- `py` (`u_int`)
- `bg` (`u_int`)

## Called by

- [`grid_clear_lines`](/en/tmux/latest/reference/c-function-grid_clear_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L707)
- [`grid_move_lines`](/en/tmux/latest/reference/c-function-grid_move_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L749)
- [`grid_scroll_history`](/en/tmux/latest/reference/c-function-grid_scroll_history/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L439)
- [`grid_scroll_history_region`](/en/tmux/latest/reference/c-function-grid_scroll_history_region/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L487)
- [`screen_resize_y`](/en/tmux/latest/reference/c-function-screen-c-screen_resize_y/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/screen.c#L470)

## Calls

- [`grid_expand_line`](/en/tmux/latest/reference/c-function-grid-c-grid_expand_line/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L529)

## Referenced declarations

- [`COLOUR_DEFAULT`](/en/tmux/latest/reference/c-define-tmux-h-colour_default/) (constant)
- [`grid`](/en/tmux/latest/reference/c-struct-grid/) (struct)
- [`grid.linedata`](/en/tmux/latest/reference/c-struct-grid-linedata/) (attribute)
- [`grid.sx`](/en/tmux/latest/reference/c-struct-grid-sx/) (attribute)
