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

Buffers

The tmux server's paste buffers.

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

Description

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

Members11 members

  • `set` method Puts text in a named buffer, replacing whatever was there.
  • asJava property The Java buffers this wraps: the same object, for a Java API that takes one.
  • delete method Removes a buffer by its exact name.
  • equals method
  • hashCode method
  • list method Captures every buffer the server holds, in tmux's order.
  • load method Reads a file into a named buffer.
  • save method Writes a buffer's contents to a file.
  • server property
  • show method What a buffer holds, without any line breaks it ends with.
  • toString method
Esc
Search in

Type to search.

Reference previewOpen reference