# types.SplitOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/types.ts#L282
- **Page:** https://libtmux.org/en/ts/latest/reference/types-splitoptions/

Which side the new pane takes, how big it is, and what runs in it.

Without a size tmux halves the pane it splits.

## Members

### Other members

- [`direction`](/en/ts/latest/reference/types-splitoptions-direction/) (property): Which side of this pane the new one takes.
- [`environment`](/en/ts/latest/reference/types-splitoptions-environment/) (property): Variables to set in the process this starts, tmux's `-e`.
- [`shellCommand`](/en/ts/latest/reference/types-splitoptions-shellcommand/) (property): A command for tmux to run in place of the default shell.
- [`size`](/en/ts/latest/reference/types-splitoptions-size/) (property): How big the new pane is, tmux's `-l`.
- [`startDirectory`](/en/ts/latest/reference/types-splitoptions-startdirectory/) (property)
- [`vertical`](/en/ts/latest/reference/types-splitoptions-vertical/) (property)
