server.Server.save_buffer
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
-
Write a paste buffer to a file, letting tmux do the writing.
The counterpart to
Self::load_buffer, and the same reasoning: the bytes never cross a command line, so a buffer larger than an argument can hold still round-trips. tmux writes as the user running the server.Errors
Returns an error when the buffer is missing or tmux cannot write the path.
0 declared, 0 inherited