# cmd_resize_pane_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/cmd-resize-pane.c#L35
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-variable-cmd_resize_pane_entry/

tmux command: [`resize-pane`](/en/tmux/3.2a/manual/resize-pane/)

```c
const struct cmd_entry cmd_resize_pane_entry = {
    .name = "resize-pane",
    .alias = "resizep",

    .args = { "DLMRTt:Ux:y:Z", 0, 1 },
    .usage = "[-DLMRTUZ] [-x width] [-y height] " "[-t target-pane]" " "
         "[adjustment]",

    .target = { 't', CMD_FIND_PANE, 0 },

    .flags = 0x4 ,
    .exec = cmd_resize_pane_exec
};
```

## Other function references

- [`cmd_resize_pane_exec`](/en/tmux/3.2a/reference/c-function-cmd-resize-pane-c-cmd_resize_pane_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.2a/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.2a/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_PANE`](/en/tmux/3.2a/reference/c-enum-cmd_find_type-cmd_find_pane/) (constant)
