Core LibraryunreleasedAPI reference

Choose documentation 3

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.

MoreLess about this notice

function LibTmux.jl

save_buffer

Source and package
Qualified name
LibTmux.save_buffer
Module
LibTmux
Package
LibTmux
Source
src/pane_io.jl

Methods

save_buffer( connection::LibTmux.ControlConnection, buffer::LibTmux.BufferRef; max_bytes, kwargs..., )[source]

Read exact buffer bytes through a private local file and a completion fence. Names must be valid UTF-8 without control bytes, because tmux can reflect them in diagnostics or notifications. Missing buffers raise StaleReference. The observed size is checked before saving and before reading; concurrent replacement is not locked. max_bytes bounds returned bytes, not a concurrent daemon write to the spool. Local files are always removed; the buffer remains caller-owned. There is no subprocess fallback.

save_buffer(connection::ControlConnection, buffer::BufferRef; max_bytes=8388608, kwargs...)

save_buffer( server::LibTmux.Server, buffer::LibTmux.BufferRef; max_bytes, kwargs..., )[source]

Read exact buffer bytes without text conversion or newline changes.

Recorded calls

source calls
No call edges in the Julia model.

The Julia reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.save_buffer.

tmux command

task material

The tmux commands behind save_buffer.

save-buffer list-buffers (on a ControlConnection)

tmux C API

task material

The C declarations in tmux that implement these commands.

Esc
Search in

Type to search.

Reference previewOpen reference