# cmd_new_pane_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-split-window.c#L37
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_new_pane_entry/

tmux command: [`new-pane`](/en/tmux/3.7c/manual/new-pane/)

```c
const struct cmd_entry cmd_new_pane_entry = {
    .name = "new-pane",
    .alias = "newp",

    .args = { "bc:de:EfF:hIkl:Lm:p:PR:s:S:t:vx:X:y:Y:Z", 0, -1, NULL },
    .usage = "[-bdefhIklPvZ] [-c start-directory] [-e environment] "
         "[-F format] [-l size] [-m message] [-p percentage] "
         "[-s style] [-S active-border-style] "
         "[-R inactive-border-style] [-x width] [-y height] "
         "[-X x-position] [-Y y-position] " "[-t target-pane]" " "
         "[shell-command [argument ...]]",

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

    .flags = 0,
    .exec = cmd_split_window_exec
};
```

## Other function references

- [`cmd_split_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function)

## Referenced by

- [`cmd_split_window_exec`](/en/tmux/3.7c/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function)

## Referenced declarations

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