# Libtmux.Operations.resize_pane

- **Module:** Libtmux
- **Package:** libtmux
- **Language:** OCaml
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L1310
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-operations-resize_pane/

```
val resize_pane : ?width:int -> ?height:int -> Pane.target -> unit Command.t
```

Request positive cell dimensions, supplying at least one dimension. Omit either dimension to retain it. tmux can constrain the result to the available layout. Capture again to observe the actual dimensions.

## Parameters

- `width?` (`int`)
- `height?` (`int`)
- `arg1` (`Pane.target`)
