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

Delete the literal named buffer, or the current top buffer; return an outcome. Named deletion requires a live tmux 3.4+ daemon because 3.3a can delete the top buffer when the supplied name is missing. On 3.3a, an explicit NAME signals UNSUPPORTED-CAPABILITY before payload dispatch; omission still deletes the top buffer. A name identifies the buffer at dispatch, not an earlier incarnation. Signals an operational condition on failure; never retries an unknown deletion.

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

Public owner: libtmux

tmux command#

The tmux commands behind delete-buffer.

tmux C API#

The C declarations in tmux that implement these commands.

Guides#

Pages that discuss delete-buffer.

Esc

Type to search.

Reference previewOpen reference