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

io.github.libtmux.Buffers.Buffers

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.Buffers
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Buffers.java
class io.github.libtmux.Buffers.Buffers
classreadonly [source]
classreadonly [source]
class io.github.libtmux.Buffers.Buffers

The tmux server's paste buffers.

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.

8 declared, 0 inherited

Members

  • Buffers method
  • load method Reads a file into a named buffer.
  • delete method Removes a buffer by its exact name.
  • EXACT_NAMED_DELETE attribute tmux's own history dates the fix to 0f6227f4 ("When deleting or renaming a buffer and a buffer name is specified, complain if the buffer doesn't exist instead of silently deleting or renaming the most recent buffer", GitHub issue 3205); git tag --contains places it on 3.4 and nothing earlier, so 3.3 and 3.3a both have the bug. Confirmed on the matrix: set-buffer -b a x; set-buffer -b b y; delete-buffer -b nope answers unknown buffer: nope on 3.4 and leaves both buffers, but on 3.3a it exits 0 and takes b, the one delete-buffer was never told to touch.
  • list method Captures every buffer the server holds, in tmux's order.
  • 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.
Esc

Type to search.