Server.buffer
Read a paste buffer's exact bytes.
Source and package
-
Description#
Returns
Nonewhen no buffer has that name. Buffer contents are arbitrary bytes, so this is not a string. The name is bytes too, so oneSelf::buffer_names()lists passes back as it is.Errors
Returns an error when tmux cannot be reached.
tmux command#
The tmux commands behind buffer.
tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Read a paste buffer's contents
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | server |
| Go | tmux |
| Java | no equivalent on Server |
| C# | Lib |
| C++ | no equivalent on Server |
| Swift | Server |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | Lib Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.