Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-ts latest

Server.showBufferBytes

Read a named paste buffer without decoding or splitting its bytes.

Source and package
Qualified name
Server.showBufferBytes
Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
showBufferBytes(name: string): Promise<Uint8Array>

Description#

Unlike Server.showBuffer(), this preserves NUL, invalid UTF-8, line endings, and trailing newlines.

Examples#

const bytes = await server.showBufferBytes("payload");
bytes[0]; // 104
Parameters

tmux command#

The tmux commands behind showBufferBytes.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference