libtmux:set-buffer
Store literal DATA in a named or automatic buffer; return a COMMAND-OUTCOME. DATA is a NUL-free string or an octet vector. Strings use tmux set-buffer; octets use its load-buffer stdin path and preserve NUL and invalid UTF-8. APPEND is available only for strings. Empty DATA is tmux's no-op and preserves an existing buffer. NAME is literal; omission creates an automatic name. New names reject backslashes, ASCII controls and DEL before I/O because tmux versions otherwise rewrite or reject them. Spaces and Unicode are supported. Signals INVALID-ARGUMENT or an operational condition.
Source and package
- Qualified name
-
libtmux:set-buffer - Declared in
libtmux- Package
- libtmux
- Source
- src/buffers.lisp
-
Public owner:
libtmux
tmux command#
The tmux commands behind set-buffer.
tmux C API#
The C declarations in tmux that implement these commands.
Guides#
Pages that discuss set-buffer.