libtmux Reference MCP Search
On this page

server.Server.loadBuffer

View as Markdown

Module
server
Declared in
Server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
loadBuffer ( name : : string , data : : string | Uint8Array ) Promise<void>
method [source]
method [source]
loadBuffer

Fill a paste buffer from data fed through tmux's stdin.

Use this over Server.setBuffer for anything large or binary: that one passes its data as a command-line argument, and this one does not.

Examples

await server.loadBuffer("payload", new Uint8Array([0x68, 0x69]));

0 declared, 0 inherited

Esc

Type to search.