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:save-buffer

Save a named or top buffer's bytes to literal PATH; return a COMMAND-OUTCOME. Overwrite the file unless APPEND is true. Relative paths follow tmux's command client cwd. Use SHOW-BUFFER for returned bytes. Success records tmux's reported completion, not independently verified file contents or durability. In particular, tmux 3.3a can suppress file-write errors. An uncertain write is never retried. Signals INVALID-ARGUMENT or an operational condition.

Source and package
Qualified name
libtmux:save-buffer
Declared in
libtmux
Package
libtmux
Source
src/buffers.lisp
(save-buffer client path &key name append cancel-token timeout output-limit)

Public owner: libtmux

tmux command#

The tmux commands behind save-buffer.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss save-buffer.

Esc

Type to search.

Reference previewOpen reference