# tty_fake_bce

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L931
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-tty-c-tty_fake_bce/

```c
static int tty_fake_bce(const struct tty *, const struct grid_cell *, u_int)
```

## Parameters

- `tty` (`const struct tty *`)
- `gc` (`const struct grid_cell *`)
- `bg` (`u_int`)

## Called by

- [`tty_clear_area`](/en/tmux/3.2a/reference/c-function-tty-c-tty_clear_area/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1153)
- [`tty_clear_line`](/en/tmux/3.2a/reference/c-function-tty-c-tty_clear_line/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1033)

## Calls

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

## Referenced by

- [`tty_cmd_deletecharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_deletecharacter/) (function)
- [`tty_cmd_deleteline`](/en/tmux/3.2a/reference/c-function-tty_cmd_deleteline/) (function)
- [`tty_cmd_insertcharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_insertcharacter/) (function)
- [`tty_cmd_insertline`](/en/tmux/3.2a/reference/c-function-tty_cmd_insertline/) (function)
- [`tty_cmd_linefeed`](/en/tmux/3.2a/reference/c-function-tty_cmd_linefeed/) (function)
- [`tty_cmd_reverseindex`](/en/tmux/3.2a/reference/c-function-tty_cmd_reverseindex/) (function)
- [`tty_cmd_scrolldown`](/en/tmux/3.2a/reference/c-function-tty_cmd_scrolldown/) (function)
- [`tty_cmd_scrollup`](/en/tmux/3.2a/reference/c-function-tty_cmd_scrollup/) (function)
- [`tty_draw_line`](/en/tmux/3.2a/reference/c-function-tty_draw_line/) (function)

## Referenced declarations

- [`grid_cell.bg`](/en/tmux/3.2a/reference/c-struct-grid_cell-bg/) (attribute)
- [`COLOUR_DEFAULT`](/en/tmux/3.2a/reference/c-define-tmux-h-colour_default/) (constant)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`TTYC_BCE`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_bce/) (constant)
