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.

struct libtmux-go latest

SaveBufferRequest

SaveBufferRequest configures writing a tmux paste buffer to a file. Its zero value is invalid because Path is required; nil Name selects the most-recent buffer and a pointer to an empty name is explicit.

Source and package
Qualified name
tmux.SaveBufferRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_buffers.go
struct tmux.SaveBufferRequest

Fields3#

SaveBufferRequest fields
NameTypeDescription
Append bool Append appends buffer data to Path instead of replacing its contents.
Name *string Name selects a named buffer, or nil for tmux's most-recent buffer.
Path string Path is the required output file path.
Esc

Type to search.

Reference previewOpen reference