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

Rust API

Rust documentation

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
Other languages
PythonTypeScriptGoJava.NETC++Swift
buffer_names ( self ) → Result<Vec<TmuxText>, Error>
method [source]
method [source]
buffer_names

List the paste buffer names.

A name is TmuxText because whoever made the buffer chose it: tmux before 3.7 stores any bytes, a newline included. Each name is read framed, so one holding a newline or = is one name, and Self::buffer and Self::delete_buffer take it back unchanged.

Errors

Returns an error when tmux refuses the listing, and Error::DecodeListing when its output does not decode.

In other ports List the paste buffers

0 declared, 0 inherited

Esc

Type to search.