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

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
Python Ruby LuaTypeScriptRustGoJava.NETSwift
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.

In other ports Paste a buffer into a pane

0 declared, 0 inherited

Esc

Type to search.