# libtmux::SplitOptions

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L68
- **Page:** https://libtmux.org/reference/cxx/libtmux-splitoptions/

Side by side. tmux stacks by default.

## Members

- `horizontal` (attribute) — Side by side. tmux stacks by default.
- `before` (attribute) — Before the target rather than after it.
- `full_size` (attribute) — Spanning the full width or height of the window rather than of the pane.
- `start_directory` (attribute) — Where the new pane starts. Empty inherits from the window.
- `shell_command` (attribute) — Run this instead of the default shell.
- `percentage` (attribute) — Size as a percentage of the space being divided.
- `focus` (attribute) — Make the new pane the active one.
- `environment` (attribute) — Variables the new process starts with, on top of what tmux passes down.
