Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

libtmux::Server::load_buffer

C++

View as Markdown

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 >
methodreadonly [source]
methodreadonly [source]
load_buffer

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

0 declared, 0 inherited

Esc

Type to search.