# tty_emulate_repeat

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

```c
static void tty_emulate_repeat(struct tty *, enum tty_code_code, enum tty_code_code, u_int)
```

## Parameters

- `tty` (`struct tty *`)
- `tty_code_code` (`enum`)
- `n` (`u_int`)

## Called by

- [`tty_cmd_deletecharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_deletecharacter/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1535)
- [`tty_cmd_deleteline`](/en/tmux/3.2a/reference/c-function-tty_cmd_deleteline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1590)
- [`tty_cmd_insertcharacter`](/en/tmux/3.2a/reference/c-function-tty_cmd_insertcharacter/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1516)
- [`tty_cmd_insertline`](/en/tmux/3.2a/reference/c-function-tty_cmd_insertline/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L1566)

## Calls

- [`tty_putcode`](/en/tmux/3.2a/reference/c-function-tty_putcode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L748)
- [`tty_putcode1`](/en/tmux/3.2a/reference/c-function-tty_putcode1/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L745)
- [`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#L744)

## Referenced declarations

- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_code_code`](/en/tmux/3.2a/reference/c-enum-tty_code_code/) (enum)
