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

LibTmux.TmuxBuffers.SaveAsync

.NET

View as Markdown

Module
LibTmux
Declared in
TmuxBuffers
Package
LibTmux
Source
src/LibTmux/Buffers/TmuxBuffers.cs
Other languages
Python Ruby Lua TypeScript Rust Go Java C++Swift
SaveAsync ( path : string , name : string? , append : bool , cancellationToken : CancellationToken ) → Task
method [source]
method [source]
SaveAsync

Writes a buffer to a file.

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
In other ports Write a paste buffer to a file

0 declared, 0 inherited

Esc

Type to search.