Core Library0.xAPI reference

Choose documentation 1

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.

MoreLess about this notice

class libtmux-kotlin

SplitBuilder

Choose the position, size, and working directory of a new pane split.

Source and package
Qualified name
io.github.libtmux.kotlin.SplitBuilder
Package
io.github.libtmux.kotlin
Distribution
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Dsl.kt
@LibTmuxDsl public class SplitBuilder

Members8 members

Common operations6

  • above method Puts the new pane above this one.
  • below method Puts the new pane below this one. tmux's own default if no direction is chosen.
  • cells method Sizes the new pane by an exact number of cells.
  • percent method Sizes the new pane as a percentage of the space being split.
  • toLeft method Puts the new pane to the left of this one.
  • toRight method Puts the new pane to the right of this one.

Other members2

  • directory property
  • env method Adds a variable to the new pane's environment, keeping any already set.

Guides

task material

Pages that discuss SplitBuilder.

Esc
Search in

Type to search.

Reference previewOpen reference