- 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>
-
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
optionscombinesdirectionwithvertical.
-
In other ports Split a window's active pane
- Python
libtmux.Window.split - Ruby
LibTmux::Window#split - Lua No source-verified Lua equivalent is recorded for this operation.
- Rust
window.Window.split - Go
tmux.Window.SplitPane - Java
io.github.libtmux.Window.Window.split - .NET
LibTmux.Window.SplitPaneAsync - C++
libtmux::Window::split - Swift
Server.splitWindow(_:direction:size:startDirectory:)
0 declared, 0 inherited