Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

View as Markdown

Module
window
Declared in
Window
Package
libtmux
Source
packages/libtmux/src/window.ts
Other languages
PythonRuby Lua RustGoJava.NETC++Swift
split ( options : : SplitOptions ) → Promise<Pane>
method [source]
method [source]
split

Split this window and resolve the created pane.

Examples

import { PaneDirection } from "libtmux";
const created = await window.split({ direction: PaneDirection.Below });
created.id;
Raises
  • TypeError – when options combines direction with vertical.

In other ports Split a window's active pane

0 declared, 0 inherited

Esc

Type to search.