TmuxBuffers.GetAsync
Reads a buffer in full.
Source and package
- Qualified name
-
LibTmux .Tmux Buffers. Get Async - Namespace
- LibTmux
- Declared in
TmuxBuffers- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
- Task<string> GetAsync( string? name = null, Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
name(string?) – The buffer to read, or null for the most recent.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
Everything the buffer holds.
Recorded calls
source callsThe 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.GetAsync.
tmux command
task materialThe tmux commands behind GetAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 10 other ports mappedSource-verified mappings for Read a paste buffer's contents. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Reads a buffer in full. | This page |
| Python | libtmux Show content of a paste buffer via $ tmux show-buffer. | on Server |
| Ruby | Lib Behavior: Buffers. | on Server |
| Lua | libtmux | on Server |
| Erlang | tmux Read exact payload bytes with default bounds. See show/3 for limits. | free function |
| TypeScript | server Read a named paste buffer's contents. | on Server |
| Rust | server Read a paste buffer's exact bytes. | asyncon Server |
| Go | tmux ShowBuffer returns one buffer using Python-compatible line reconstruction. The returned string is owned by the caller; nil Name selects tmux's most recent buffer. Completed stderr is an error. | on Server |
| Swift | Server Reads a buffer's contents, or nil if no such buffer exists. | asyncon Server |
| Perl | Lib show_buffer(name => string). | on Server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Acquire complete buffer bytes, including NUL, within the output bound. | on Buffers Buffer content is byte data; file I/O remains a separate caller operation. |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
No direct public OCaml equivalent is recorded for this operation.
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.