# io.github.libtmux.kotlin.SplitBuilder

- **Module:** io.github.libtmux.kotlin
- **Package:** io.github.libtmux:libtmux-kotlin
- **Language:** Kotlin
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Dsl.kt#L139
- **Page:** https://libtmux.org/en/kotlin/latest/reference/io-github-libtmux-kotlin-splitbuilder/

```
@LibTmuxDsl
public class SplitBuilder
```

Choose the position, size, and working directory of a new pane split.

## Members

### Common operations

- `above` (method): Puts the new pane above this one.
- `below` (method): Puts the new pane below this one. tmux's own default if no direction is chosen.
- `cells` (method): Sizes the new pane by an exact number of cells.
- `percent` (method): Sizes the new pane as a percentage of the space being split.
- `toLeft` (method): Puts the new pane to the left of this one.
- `toRight` (method): Puts the new pane to the right of this one.

### Other members

- `directory` (property)
- `env` (method): Adds a variable to the new pane's environment, keeping any already set.
