# tty_resize

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

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

## Parameters

- `tty` (`struct tty *`)

## Called by

- [`server_client_dispatch`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2059)
- [`server_client_dispatch_identify`](/en/tmux/3.2a/reference/c-function-server-client-c-server_client_dispatch_identify/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2314)

## Calls

- [`log_debug`](/en/tmux/3.2a/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L135)
- [`tty_invalidate`](/en/tmux/3.2a/reference/c-function-tty-c-tty_invalidate/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L138)
- [`tty_set_size`](/en/tmux/3.2a/reference/c-function-tty_set_size/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L137)

## Referenced declarations

- [`tty.client`](/en/tmux/3.2a/reference/c-struct-tty-client/) (attribute)
- [`client.fd`](/en/tmux/3.2a/reference/c-struct-client-fd/) (attribute)
- [`client.name`](/en/tmux/3.2a/reference/c-struct-client-name/) (attribute)
- [`tty`](/en/tmux/3.2a/reference/c-struct-tty/) (struct)
