On this page
libtmux::Server::load_buffer
- Module
- libtmux
- Declared in
- Server
- Package
- libtmux-cxx
- Source
- include/libtmux/server.hpp
- 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.
0 declared, 0 inherited