Server.save_buffer
Write a paste buffer to a file, letting tmux do the writing.
Source and package
- Qualified name
-
libtmux::server:: Server:: save _buffer - Module
- server
- Declared in
Server- Package
- libtmux
- Source
- crates/libtmux/src/server.rs
-
Description#
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.
tmux command#
The tmux commands behind save_buffer.
tmux C API#
The C declarations in tmux that implement these commands.