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

Load a file's bytes into a literal named or automatic buffer; return an outcome. PATH is literal path text, not a format. Relative paths follow the tmux command client's cwd. An empty file is tmux's no-op and preserves an existing buffer. New names reject backslashes, ASCII controls and DEL before I/O. Use SET-BUFFER for in-memory bytes. Signals INVALID-ARGUMENT or an operational condition; a failure after dispatch may have an uncertain outcome.

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

Public owner: libtmux

tmux command#

The tmux commands behind load-buffer.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss load-buffer.

Esc

Type to search.

Reference previewOpen reference