# grid_empty_line

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L477
- **Page:** https://libtmux.org/en/tmux/3.2a/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/3.2a/reference/c-function-grid_clear_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L653)
- [`grid_move_lines`](/en/tmux/3.2a/reference/c-function-grid_move_lines/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L695)
- [`grid_scroll_history`](/en/tmux/3.2a/reference/c-function-grid_scroll_history/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L398)
- [`grid_scroll_history_region`](/en/tmux/3.2a/reference/c-function-grid_scroll_history_region/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L444)
- [`screen_resize_y`](/en/tmux/3.2a/reference/c-function-screen-c-screen_resize_y/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/screen.c#L358)

## Calls

- [`grid_expand_line`](/en/tmux/3.2a/reference/c-function-grid-c-grid_expand_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L481)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)

## Referenced declarations

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