Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-dotnet

TmuxBuffers.LoadAsync

Puts a file's contents into a buffer.

Source and package
Qualified name
LibTmux.TmuxBuffers.LoadAsync
Namespace
LibTmux
Declared in
TmuxBuffers
Package
LibTmux
Source
src/LibTmux/Buffers/TmuxBuffers.cs
Parameters
Returns

A task that completes once tmux has read it.

Errors

Recorded calls

source calls
No call edges in the C# model.

The C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.TmuxBuffers.LoadAsync.

tmux command

task material

The tmux commands behind LoadAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 6 other ports mapped

Source-verified mappings for Fill a paste buffer from a file. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Fill a paste buffer from a file in each port
PortAPIDiffers from C#
C# LibTmux.TmuxBuffers.LoadAsync
Puts a file's contents into a buffer.
This page
Python libtmux.Server.load_buffer
Load a file into a paste buffer via $ tmux load-buffer.
on Server
Erlang tmux_buffer:load/3
Load binary bytes under a name, or create an automatic buffer. Input may contain NUL. Empty input succeeds without changing the buffer store, including an existing name. The command payload, including argv and stdin, must fit the endpoint's 256 KiB admission limit. See tmux_server:command/3.
free function
TypeScript server.Server.loadBuffer
Fill a paste buffer from data fed through tmux's stdin.
on Server
Go tmux.Server.LoadBuffer
LoadBuffer reads a file into a named or newly allocated buffer. Path follows Server.SourceFile's current-user expansion and lexical normalization. It mutates tmux's destination buffer. Exact "-" is rejected because it names tmux's stdin rather than a path; Server.LoadBufferFrom streams from an io.Reader, and this method is the one that runs over a Connection.
on Server
C++ libtmux::Server::load_buffer
Read a file into a named buffer, and write one back out.
on Serverreadonly
Swift Server.loadBuffer(from:named:)
Fills a buffer from a file, letting tmux read it.
asyncon Server
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No Rust equivalent.

no equivalent on Server

No Java equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No Raku equivalent.

Read file bytes with native Raku I/O and pass them to Buffers.put.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference