Server.show_buffer
show_buffer(name => string).
Source and package
-
Description#
Read a named tmux buffer and return raw octets, including embedded NUL bytes. Empty data remains an empty string. Performs I/O; a missing buffer throws
"Command" in LibTmux::X. See"set_buffer".my $bytes = $server->show_buffer(name => 'application');Methods#
tmux command#
The tmux commands behind show_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 |
| Rust | 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. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.