Server.buffer_names
List the paste buffer names.
Source and package
-
Description#
A name is
TmuxTextbecause 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, andSelf::buffer()andSelf::delete_buffer()take it back unchanged.Errors
Returns an error when tmux refuses the listing, and
Error::DecodeListingwhen its output does not decode.
tmux command#
The tmux commands behind buffer_names.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
List the paste buffers
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | libtmux:: |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.