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

Go API

Go documentation

tmux.Server.LoadBuffer

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
LoadBuffer ( ctx : context.Context , request : LoadBufferRequest ) → error
method [source]
method [source]
LoadBuffer

LoadBuffer reads a file into a named or newly allocated buffer. Path follows Server.SourceFile 's current-user expansion and lexical normalization. It mutates tmux's destination buffer. Exact "-" is rejected because it names tmux's stdin rather than a path; Server.LoadBufferFrom streams from an io.Reader, and this method is the one that runs over a Connection .

In other ports Fill a paste buffer from a file

0 declared, 0 inherited

Esc

Type to search.