Pane.ClearHistoryAsync
Drops the pane's scrollback history.
Source and package
- Qualified name
-
LibTmux .Pane. Clear History Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Input.cs
- Task ClearHistoryAsync( bool reset
Hyperlinks = false, CancellationToken cancellationToken = default ) -
- Parameters
-
-
resetHyperlinks(bool) – Whether stored hyperlinks are dropped too.Default
false -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
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.Pane.ClearHistoryAsync.
tmux command
task materialThe tmux commands behind ClearHistoryAsync.
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 Clear a pane's scrollback. 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 Drops the pane's scrollback history. | This page |
| Python | libtmux Clear pane history buffer via $ tmux clear-history. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| TypeScript | pane Discard this pane's scrollback history. | None recorded in the model |
| Rust | pane Clear the pane's scrollback history. | async |
| Go | tmux ClearHistory removes scrollback from the receiver's exact linked pane. ResetHyperlinks triggers a version probe before mutation. A completed command produces a redacted CommandError only for stderr; nonzero exits without stderr are ignored. Accepted changes are not rolled back. | None recorded in the model |
| Java | io Discards this pane's scrollback. | None recorded in the model |
| C++ | libtmux:: Forget the scrollback, which is the only way to bound a pane's memory without restarting what is running in it. | readonly |
| Swift | Server Clears a pane's visible screen and its scrollback. | asyncon Server |
| OCaml | Libtmux Clear stored scrollback for this pane. The visible screen and running process remain; later captures cannot recover discarded history. | free function |
| Raku | Lib Discard scrollback; visible screen contents and application state are unaffected. | on PaneRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in Ruby, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.