# tty_cmd_scrolldown

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

```c
void tty_cmd_scrolldown(struct tty *tty, const struct tty_ctx *ctx)
```

## Parameters

- `tty` (`struct tty *`)
- `ctx` (`const struct tty_ctx *`)

## Calls

- [`tty_cursor_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_cursor_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1746)
- [`tty_default_attributes`](/en/tmux/3.2a/reference/c-function-tty-c-tty_default_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1742)
- [`tty_margin_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_margin_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1745)
- [`tty_putcode`](/en/tmux/3.2a/reference/c-function-tty_putcode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1752)
- [`tty_putcode1`](/en/tmux/3.2a/reference/c-function-tty_putcode1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1749)
- [`tty_redraw_region`](/en/tmux/3.2a/reference/c-function-tty-c-tty_redraw_region/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1738)
- [`tty_region_pane`](/en/tmux/3.2a/reference/c-function-tty-c-tty_region_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1744)
- [`tty_term_has`](/en/tmux/3.2a/reference/c-function-tty_term_has/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1748)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`tty_ctx.bg`](/en/tmux/3.2a/reference/c-struct-tty_ctx-bg/) (attribute)
- [`tty_ctx.bigger`](/en/tmux/3.2a/reference/c-struct-tty_ctx-bigger/) (attribute)
- [`tty_ctx.defaults`](/en/tmux/3.2a/reference/c-struct-tty_ctx-defaults/) (attribute)
- [`tty_ctx.num`](/en/tmux/3.2a/reference/c-struct-tty_ctx-num/) (attribute)
- [`tty_ctx.ocx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-ocx/) (attribute)
- [`tty_ctx.orlower`](/en/tmux/3.2a/reference/c-struct-tty_ctx-orlower/) (attribute)
- [`tty_ctx.orupper`](/en/tmux/3.2a/reference/c-struct-tty_ctx-orupper/) (attribute)
- [`tty_ctx.palette`](/en/tmux/3.2a/reference/c-struct-tty_ctx-palette/) (attribute)
- [`tty_ctx.sx`](/en/tmux/3.2a/reference/c-struct-tty_ctx-sx/) (attribute)
- [`tty_ctx.sy`](/en/tmux/3.2a/reference/c-struct-tty_ctx-sy/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_ctx`](/en/tmux/3.2a/reference/c-struct-tty_ctx/) (struct)
- [`tty_full_width`](/en/tmux/3.2a/reference/c-define-tty-c-tty_full_width/) (constant)
- [`tty_use_margin`](/en/tmux/3.2a/reference/c-define-tty-c-tty_use_margin/) (constant)
- [`TTYC_CSR`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_csr/) (constant)
- [`TTYC_RI`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_ri/) (constant)
- [`TTYC_RIN`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_rin/) (constant)
