libtmux::Server::load_buffer
- Module
- libtmux
- Declared in
- Server
- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- Other languages
- Python Ruby Lua TypeScript Rust Go Java .NETSwift
- load_buffer ( name : std::string_view , from : const std::filesystem::path & ) expected< void, CommandFailure >
-
Read a file into a named buffer, and write one back out.
The file is read and written by the tmux server, so the path is the server's to resolve — which matters when it is not on this machine. The bytes are not interpreted: a buffer round-tripped through a file comes back identical.
In other ports Fill a paste buffer from a file
- Python
libtmux.Server.load_buffer - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
server.Server.loadBuffer - Rust no equivalent on
Server - Go
tmux.Server.LoadBuffer - Java no equivalent on
Server - .NET
LibTmux.TmuxBuffers.LoadAsync - Swift
Server.loadBuffer(from:named:)
- Python
0 declared, 0 inherited