# window.Window.split

- **Module:** window.Window
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/window.ts#L254
- **Page:** https://libtmux.org/reference/ts/window-window-split/

```
window.Window.split(options: : SplitOptions) -> Promise<Pane>
```

Split this window and resolve the created pane.

## Example

```ts
const created = await window.split({ vertical: true });
created.id;
```
