On this page
server.Server.saveBuffer
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
-
Write a paste buffer to a file instead of reading it back.
showBufferreturns the contents through this process; for a large buffer that means holding it in memory to put it somewhere else. tmux writes the file itself, on the machine tmux is running on.Examples
await server.saveBuffer("captured", "/tmp/build.log");
0 declared, 0 inherited