On this page
server.Server.loadBuffer
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
-
Fill a paste buffer from data fed through tmux's stdin.
Use this over
Server.setBufferfor 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