# tty_resize

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L119
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-tty_resize/

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

## Parameters

- `tty` (`struct tty *`)

## Called by

- [`popup_modify`](/en/tmux/latest/reference/c-function-popup_modify/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/popup.c#L763)
- [`server_client_dispatch`](/en/tmux/latest/reference/c-function-server-client-c-server_client_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2249)
- [`server_client_dispatch_identify`](/en/tmux/latest/reference/c-function-server-client-c-server_client_dispatch_identify/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L2558)

## Calls

- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L152)
- [`tty_invalidate`](/en/tmux/latest/reference/c-function-tty_invalidate/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L155)
- [`tty_puts`](/en/tmux/latest/reference/c-function-tty_puts/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L143)
- [`tty_set_size`](/en/tmux/latest/reference/c-function-tty_set_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty.c#L154)

## Referenced declarations

- [`tty.client`](/en/tmux/latest/reference/c-struct-tty-client/) (attribute)
- [`client.fd`](/en/tmux/latest/reference/c-struct-client-fd/) (attribute)
- [`tty_term.flags`](/en/tmux/latest/reference/c-struct-tty_term-flags/) (attribute)
- [`tty.flags`](/en/tmux/latest/reference/c-struct-tty-flags/) (attribute)
- [`client.name`](/en/tmux/latest/reference/c-struct-client-name/) (attribute)
- [`tty.out`](/en/tmux/latest/reference/c-struct-tty-out/) (attribute)
- [`tty.term`](/en/tmux/latest/reference/c-struct-tty-term/) (attribute)
- [`TERM_VT100LIKE`](/en/tmux/latest/reference/c-define-tmux-h-term_vt100like/) (constant)
- [`tty`](/en/tmux/latest/reference/c-struct-tty/) (struct)
- [`TTY_WINSIZEQUERY`](/en/tmux/latest/reference/c-define-tmux-h-tty_winsizequery/) (constant)
