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

libtmux::Server::set_buffer

View as Markdown

Module
libtmux
Declared in
Server
Package
libtmux-cxx
Source
include/libtmux/server.hpp
Other languages
PythonRubyLuaTypeScriptRustGo Java .NETSwift
set_buffer ( name : std::string_view , data : std::string_view ) → expected< void, CommandFailure >
methodreadonly [source]
methodreadonly [source]
set_buffer

Put text in a named buffer, replacing what was there.

An empty name lets tmux choose one, which is what a caller copying without caring about the name wants.

In other ports Put text into a paste buffer

0 declared, 0 inherited

Esc

Type to search.