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.GetAsync

Namespace LibTmux.TmuxBuffers.GetAsync LibTmux

Reads a buffer in full.

View as Markdown

Source and package
Module
LibTmux
Declared in
TmuxBuffers
Package
LibTmux
Source
src/LibTmux/Buffers/TmuxBuffers.cs
Other languages
PythonRubyLuaTypeScriptRustGo Java C++ Swift Kotlin Scala F#
GetAsync ( name : string? , cancellationToken : CancellationToken ) → Task<string>
method [source]
Parameters
  • name ( string? ) – The buffer to read, or null for the most recent.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

Everything the buffer holds.

tmux command show-buffer

In other ports Read a paste buffer's contents
Esc

Type to search.