# tty_acs_needed

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-acs.c#L205
- **Page:** https://libtmux.org/en/tmux/latest/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/latest/reference/c-function-tty_acs_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-acs.c#L236)
- [`tty_start_tty`](/en/tmux/latest/reference/c-function-tty_start_tty/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L356)
- [`tty_stop_tty`](/en/tmux/latest/reference/c-function-tty_stop_tty/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L464)

## Calls

- [`tty_term_has`](/en/tmux/latest/reference/c-function-tty_term_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-acs.c#L220)

## Other function references

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

## Referenced by

- [`tty_attributes`](/en/tmux/latest/reference/c-function-tty_attributes/) (function)
- [`tty_reset`](/en/tmux/latest/reference/c-function-tty_reset/) (function)

## Referenced declarations

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