TmuxBuffers.DeleteAsync
Forgets a buffer.
Source and package
- Qualified name
-
LibTmux .Tmux Buffers. Delete Async - Namespace
- LibTmux
- Declared in
TmuxBuffers- Package
- LibTmux
- Source
- src/LibTmux/Buffers/TmuxBuffers.cs
- Task DeleteAsync( string? name = null, Cancellation
Token cancellationToken = default ) -
- Parameters
-
-
name(string?) – The buffer to forget, or null for the most recent.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
A task that completes once tmux has forgotten it.
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.DeleteAsync.
tmux command
task materialThe tmux commands behind DeleteAsync.
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 Delete 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 Forgets a buffer. | This page |
| Python | libtmux Delete a paste buffer via $ tmux delete-buffer. | on Server |
| Ruby | Lib Behavior: Buffers. | on Server |
| Lua | libtmux | on Server |
| Erlang | tmux Delete a named buffer or latest. Missing buffers return buffer_not_found. This performs I/O and affects the server-wide buffer store. | free function |
| TypeScript | server Discard a named paste buffer. | on Server |
| Rust | server Delete one paste buffer. | asyncon Server |
| Go | tmux DeleteBuffer deletes a named buffer, or the most recent buffer when name is nil. Cancellation does not prove that tmux did not delete the buffer. | on Server |
| Swift | Server | asyncon Server |
| Perl | Lib delete_buffer(name => string). | on Server Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes. |
| Raku | Lib Delete the named 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 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#.