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.

struct libtmux-rs latest

SplitWindow

Split a window, making a pane.

Source and package
Qualified name
libtmux::plan::ops::panes::SplitWindow
Module
plan.ops.panes
Package
libtmux
Source
crates/libtmux/src/plan/ops/panes.rs
struct plan.ops.panes.SplitWindow

Members8#

Common operations1#

  • direction method Put the new pane on this side of the one being divided.

Other members7#

  • command method Run this instead of a shell in the new pane.
  • environment method Set a variable in the new pane's environment before it starts.
  • focus method Leave the new pane focused.
  • from_pane method Split this pane, putting a new one beside it.
  • horizontal method Split side by side rather than one above the other.
  • new method Split this window, leaving the new pane unfocused.
  • start_directory method Start the new pane in this directory.
Esc

Type to search.

Reference previewOpen reference