Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

SplitWindow.new

Split this window, leaving the new pane unfocused.

Source and package
Qualified name
libtmux::plan::ops::panes::SplitWindow::new
Module
plan.ops.panes
Declared in
SplitWindow
Package
libtmux
Source
crates/libtmux/src/plan/ops/panes.rs
#[must_use] pub fn new(target: impl Into<WindowTarget>) -> Self

Description#

Divides whichever pane is active. SplitWindow::from_pane() is for every split after the first in a chain.

Parameters
Esc

Type to search.

Reference previewOpen reference