Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Go API

Go documentation

tmux.Server.SaveBuffer

Go

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_buffers.go
Other languages
Python Ruby Lua TypeScript Rust Java .NETC++Swift
SaveBuffer ( ctx : context.Context , request : SaveBufferRequest ) → error
method [source]
method [source]
SaveBuffer

SaveBuffer writes a named or most-recent buffer to a file. Path follows Server.SourceFile 's current-user expansion and lexical normalization. It changes that file. Exact "-" is rejected because it names tmux's stdout rather than a path; Server.SaveBufferTo streams to an io.Writer, and this method is the one that runs over a Connection .

In other ports Write a paste buffer to a file

0 declared, 0 inherited

Esc

Type to search.