# client-resized

Source: https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/

> Run when a client is resized.

hook tmux3.2a

Run when a client is resized.

* Scope

  session

* Set

  [`set-hook`](https://libtmux.org/en/tmux/3.2a/manual/set-hook/) `client-resized command`

* Read

  [`show-hooks`](https://libtmux.org/en/tmux/3.2a/manual/show-hooks/) `client-resized`

## Description[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/#description)

Run when a client is resized.

## Releases[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/#releases)

* [tmux 3.7c](https://libtmux.org/en/tmux/3.7c/catalog/hooks/client-resized/) : present
* [tmux 3.2a](https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/) : present

## Source[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/#source)

* Defined in

  [`options-table.c:1135`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/options-table.c#L1135)

* Fired from

  * [`server-client.c:2063`](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/server-client.c#L2063) in `notify_client`

* C source reference

  [`options_table`](https://libtmux.org/en/tmux/3.2a/reference/c-variable-options_table/), [`notify_client`](https://libtmux.org/en/tmux/3.2a/reference/c-function-notify_client/)

* CLI Manual

  [Original manual entry](https://libtmux.org/en/tmux/3.2a/manual/full/#hooks-client-resized)

## Used by[#](https://libtmux.org/en/tmux/3.2a/catalog/hooks/client-resized/#used-by)

Library documentation that names this hook.

* Rust

  [`options.generated.CLIENT_RESIZED`](https://libtmux.org/en/rs/latest/reference/options-generated-client_resized/)

* Go

  [`tmux.ServerHookValues.ClientResized`](https://libtmux.org/en/go/latest/reference/tmux-serverhookvalues-clientresized/), [`tmux.SessionHookValues.ClientResized`](https://libtmux.org/en/go/latest/reference/tmux-sessionhookvalues-clientresized/)
