# tty_update_features

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

```c
void tty_update_features(struct tty *tty)
```

## Parameters

- `tty` (`struct tty *`)

## Called by

- [`tty_keys_device_attributes`](/en/tmux/3.2a/reference/c-function-tty-keys-c-tty_keys_device_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-keys.c#L1299)
- [`tty_keys_extended_device_attributes`](/en/tmux/3.2a/reference/c-function-tty-keys-c-tty_keys_extended_device_attributes/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty-keys.c#L1366)
- [`tty_start_timer_callback`](/en/tmux/3.2a/reference/c-function-tty-c-tty_start_timer_callback/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L290)

## Calls

- [`options_get_number`](/en/tmux/3.2a/reference/c-function-options_get_number/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L461)
- [`tty_apply_features`](/en/tmux/3.2a/reference/c-function-tty_apply_features/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L456)
- [`tty_putcode`](/en/tmux/3.2a/reference/c-function-tty_putcode/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L460)
- [`tty_puts`](/en/tmux/3.2a/reference/c-function-tty_puts/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L462)
- [`tty_term_apply_overrides`](/en/tmux/3.2a/reference/c-function-tty_term_apply_overrides/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L457)

## Other function references

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

## Referenced declarations

- [`tty.client`](/en/tmux/3.2a/reference/c-struct-tty-client/) (attribute)
- [`tty_term.flags`](/en/tmux/3.2a/reference/c-struct-tty_term-flags/) (attribute)
- [`global_options`](/en/tmux/3.2a/reference/c-variable-global_options/) (attribute)
- [`tty.term`](/en/tmux/3.2a/reference/c-struct-tty-term/) (attribute)
- [`client.term_features`](/en/tmux/3.2a/reference/c-struct-client-term_features/) (attribute)
- [`TERM_VT100LIKE`](/en/tmux/3.2a/reference/c-define-tmux-h-term_vt100like/) (constant)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
- [`tty_use_margin`](/en/tmux/3.2a/reference/c-define-tty-c-tty_use_margin/) (constant)
- [`TTYC_ENEKS`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_eneks/) (constant)
- [`TTYC_ENFCS`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_enfcs/) (constant)
- [`TTYC_ENMG`](/en/tmux/3.2a/reference/c-enum-tty_code_code-ttyc_enmg/) (constant)
