libtmux Reference MCP Search
On this page

libtmux::Pane::paste

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
paste ( buffer : const Buffer & , consume : bool = false ) expected< void, CommandFailure >
methodreadonly [source]
methodreadonly [source]
paste

Deliver a buffer's text to this pane, as if it had been typed.

The text arrives on the command line and is not run: a caller wanting it executed sends Enter afterwards, which is the same distinction send_text draws.

consume is tmux's -d, deleting the buffer once it has been pasted, which is what a caller treating it as a one-shot transfer wants.

0 declared, 0 inherited

Esc

Type to search.