Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

method libtmux-dotnet latest

TmuxBuffers.SaveAsync

Namespace LibTmux.TmuxBuffers.SaveAsync LibTmux

Writes a buffer to a file.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxBuffers
Package
LibTmux
Source
src/LibTmux/Buffers/TmuxBuffers.cs
Other languages
Python Ruby Lua TypeScript Rust Go Java C++Swift Kotlin Scala F#
SaveAsync ( path : string , name : string? , append : bool , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • path ( string ) – The file to write.

  • name ( string? ) – The buffer to write, or null for the most recent.

  • append ( bool ) – Whether the buffer joins what the file already holds.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

A task that completes once tmux has written it.

Raises

tmux command save-buffer

In other ports Write a paste buffer to a file
Esc

Type to search.