# tty_acs_needed

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

```c
int tty_acs_needed(struct tty *tty)
```

## Parameters

- `tty` (`struct tty *`)

## Called by

- [`tty_acs_get`](/en/tmux/3.2a/reference/c-function-tty_acs_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-acs.c#L164)
- [`tty_start_tty`](/en/tmux/3.2a/reference/c-function-tty_start_tty/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L320)
- [`tty_stop_tty`](/en/tmux/3.2a/reference/c-function-tty_stop_tty/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L390)

## Calls

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

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`tty.client`](/en/tmux/3.2a/reference/c-struct-tty-client/) (attribute)
- [`CLIENT_UTF8`](/en/tmux/3.2a/reference/c-define-tmux-h-client_utf8/) (constant)
- [`client.flags`](/en/tmux/3.2a/reference/c-struct-client-flags/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`TTYC_U8`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_u8/) (constant)
