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

Namespace LibTmux.TmuxBuffers.LoadAsync LibTmux

Puts a file's contents into a buffer.

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#
LoadAsync ( path : string , name : string? , cancellationToken : CancellationToken ) → Task
method [source]
Parameters
  • path ( string ) – The file to read.

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

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

A task that completes once tmux has read it.

Raises

tmux command load-buffer

In other ports Fill a paste buffer from a file
Esc

Type to search.