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

Namespace LibTmux.TmuxBuffers.SetAsync LibTmux

Puts text into a buffer.

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#
SetAsync ( data : string , name : string? , append : bool , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • data ( string ) – The text to store.

  • name ( string? ) – The buffer name, or null for a new one.

  • append ( bool ) – Whether the text joins what is already there.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

A task that completes once tmux has stored it.

Raises

tmux command set-buffer

In other ports Put text into a paste buffer
Esc

Type to search.