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.

class libtmux-java latest

Buffers

The tmux server's paste buffers.

Source and package
Qualified name
io.github.libtmux.Buffers
Package
io.github.libtmux
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Buffers.java
class io.github.libtmux.Buffers

Description#

Buffers are the server's, not a session's: anything copied in one session can be pasted into another. They are addressed by name rather than by the stack position tmux also accepts, because a position moves whenever anything else is copied.

Members7#

Collections and queries1#

Other members6#

  • delete method Removes a buffer by its exact name.
  • 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.
  • set method Puts text in a named buffer, replacing whatever was there.
  • show method What a buffer holds, without any line breaks it ends with.
Esc

Type to search.

Reference previewOpen reference