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

pane.Pane.pasteBuffer

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
packages/libtmux/src/pane.ts
Other languages
Python Ruby LuaRustGoJava.NETC++Swift
pasteBuffer ( name : : string ) → Promise<void>
method [source]
method [source]
pasteBuffer

Paste a named buffer into this pane, as if it were typed.

The program running in the pane sees ordinary input, so a shell runs what arrives. Server.loadBuffer fills the buffer beforehand.

In other ports Paste a buffer into a pane

Examples

await pane.pasteBuffer("greeting");
>>> server.set_buffer('pasted_text')
>>> pane.paste_buffer()

0 declared, 0 inherited

Esc

Type to search.