Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

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
(set-buffer client data &key name append cancel-token timeout output-limit)

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.

Esc

Type to search.

Reference previewOpen reference