# Libtmux_eio.Client.zoom_pane

- **Module:** Libtmux_eio
- **Package:** libtmux-eio
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/eio/libtmux_eio.mli#L571
- **Public owner:** Libtmux_eio
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux_eio-client-zoom_pane/

```
val zoom_pane : t -> Libtmux.Pane.target -> (unit, Libtmux.Error.t) result
```

Toggle the window's zoom state around this pane.

## Parameters

- `arg1` (`t`)
- `arg2` (`Libtmux.Pane.target`)

## tmux command

The tmux commands behind `zoom_pane`.

- [`resize-pane`](/en/tmux/latest/manual/resize-pane/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_resize_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_resize_pane_entry/) (attribute)
- [`cmd_resize_pane_exec`](/en/tmux/latest/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_exec/) (function)
