# tty_window_default_style

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

```c
static void tty_window_default_style(struct grid_cell *gc, struct window_pane *wp)
```

## Parameters

- `gc` (`struct grid_cell *`)
- `wp` (`struct window_pane *`)

## Called by

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

## Referenced declarations

- [`grid_cell.bg`](/en/tmux/3.2a/reference/c-struct-grid_cell-bg/) (attribute)
- [`window_pane.bg`](/en/tmux/3.2a/reference/c-struct-window_pane-bg/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.2a/reference/c-struct-grid_cell-fg/) (attribute)
- [`window_pane.fg`](/en/tmux/3.2a/reference/c-struct-window_pane-fg/) (attribute)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
- [`grid_default_cell`](/en/tmux/3.2a/reference/c-variable-grid_default_cell/) (attribute)
- [`window_pane`](/en/tmux/3.2a/reference/c-struct-window_pane/) (struct)
