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

CommandChain

A sequence of tmux commands where each one acts on what the last one made.

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

Description

Holds the Java handle privately, so a member here always wins over a same-named catalog-generated extension in CommandChainOperations.kt.

Members13 members

  • arrange method Arranges the current window.
  • asJava property The Java chain this wraps: the same object, for a Java API that takes one.
  • equals method
  • hashCode method
  • newWindow method Makes a window named name, which the commands after it act on. Collected, not sent.
  • renameWindow method Renames the window the chain is on. Collected, not sent.
  • run method Runs the whole chain in one tmux invocation, attributing each step.
  • sendLine method Types command into the current pane and presses Enter. Collected, not sent.
  • server property
  • splitLeftRight method Splits the current pane into left and right. Collected, not sent.
  • splitTopBottom method Splits the current pane into top and bottom. Collected, not sent.
  • then method Adds any tmux command. Collected, not sent.
  • toString method
Esc
Search in

Type to search.

Reference previewOpen reference