Server.buffer(named:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Buffers.swift
- Other languages
- PythonRubyLuaTypeScriptRustGo Java .NET C++
-
Reads a buffer's contents, or
nilif no such buffer exists.Runs in a process of its own even on a connected server, so that the answer does not depend on which mode asked. A connection reports a command's output as *lines*, and
show-bufferwrites the buffer as bytes with a terminator after them — so a buffer ending in a newline and one that does not arrive in the same shape as a listing whose last row is empty. Nothing on the wire tells the two apart, and every supported tmux behaves this way, so the bytes are read from a process instead of guessed at.- Raises
In other ports Read a paste buffer's contents
- Python
libtmux.Server.show_buffer - Ruby
LibTmux::Server#read_buffer - Lua
libtmux.Server:show_buffer - TypeScript
server.Server.showBuffer - Rust
server.Server.buffer - Go
tmux.Server.ShowBuffer - Java no equivalent on
Server - .NET
LibTmux.TmuxBuffers.GetAsync - C++ no equivalent on
Server
0 declared, 0 inherited