Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

class libtmux-kotlin latest

SplitBuilder

Package io.github.libtmux.kotlin.SplitBuilder io.github.libtmux.kotlin

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

View as Markdown

Source and package
Module
io.github.libtmux.kotlin
Package
io.github.libtmux:libtmux-kotlin
Source
libtmux-kotlin/src/main/kotlin/io/github/libtmux/kotlin/Dsl.kt
@LibTmuxDsl public class SplitBuilder
class [source]

Discussed in Coroutines and flows

Members8 members#

Common operations6 members#

  • 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 members#

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

Type to search.