TmuxBuffers.SetAsync
Puts text into a buffer.
Source and package
- Qualified name
-
LibTmux .Tmux Buffers. Set Async - Namespace
- LibTmux
- Declared in
TmuxBuffers- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
-
- Parameters
-
-
name(string?) – The buffer name, or null for a new one.Default
null -
append(bool) – Whether the text joins what is already there.Default
false -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
- Returns
-
A task that completes once tmux has stored it.
- Errors
-
-
Argument
Null –Exception datais null.
-
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.SetAsync.
tmux command
task materialThe tmux commands behind SetAsync.
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 Put text into a paste buffer. 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 Puts text into a buffer. | This page |
| Python | libtmux Set a paste buffer via $ tmux set-buffer. | on Server |
| Ruby | Lib Behavior: Buffers. | on Server |
| Lua | libtmux | on Server |
| TypeScript | server Put a string into a named paste buffer. | on Server |
| Rust | server Store data in a tmux paste buffer. | asyncon Server |
| Go | tmux SetBuffer stores or appends exact string data without refreshing models. It mutates the selected paste buffer; completed stderr is reported as a redacted command error because Data may be secret. Cancellation does not prove that tmux did not store data. | on Server |
| C++ | libtmux:: Put text in a named buffer, replacing what was there. | on Serverreadonly |
| Swift | Server Puts text into a named buffer. | asyncon Server |
| Perl | Lib set_buffer(name => string, data => bytes). | on Server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Load binary stdin into the named server buffer. | 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 direct public OCaml equivalent is recorded for this operation.
No equivalent is recorded in PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.