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

Swift API

Swift documentation

Server.saveBuffer(named:to:)

Swift

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Buffers.swift
Other languages
Python Ruby Lua TypeScript Rust Go Java .NETC++
saveBuffer(named:to:) ( named : String? , to : String ) → ()
methodasync [source]
methodasync [source]
saveBuffer(named:to:)

Writes a buffer to a file, letting tmux do the writing.

The counterpart to loadBuffer(from:named:), and the way to get a buffer larger than a reply out of tmux: buffer(named:) hands back what one command printed, while this streams to a path.

Raises
In other ports Write a paste buffer to a file

0 declared, 0 inherited

Esc

Type to search.