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

Pane.ClearHistoryAsync

Drops the pane's scrollback history.

Source and package
Qualified name
LibTmux.Pane.ClearHistoryAsync
Namespace
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Input.cs
Parameters

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.Pane.ClearHistoryAsync.

tmux command

task material

The tmux commands behind ClearHistoryAsync.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 10 other ports mapped

Source-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.

Clear a pane's scrollback in each port
PortAPIDiffers from C#
C# LibTmux.Pane.ClearHistoryAsync
Drops the pane's scrollback history.
This page
Python libtmux.Pane.clear_history
Clear pane history buffer via $ tmux clear-history.
None recorded in the model
Lua libtmux.Pane:clear_history None recorded in the model
TypeScript pane.Pane.clearHistory
Discard this pane's scrollback history.
None recorded in the model
Rust pane.Pane.clear_history
Clear the pane's scrollback history.
async
Go tmux.Pane.ClearHistory
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.github.libtmux.Pane.clearHistory
Discards this pane's scrollback.
None recorded in the model
C++ libtmux::Pane::clear_history
Forget the scrollback, which is the only way to bound a pane's memory without restarting what is running in it.
readonly
Swift Server.clearHistory(_:)
Clears a pane's visible screen and its scrollback.
asyncon Server
OCaml Libtmux_unix.Client.clear_history
Clear stored scrollback for this pane. The visible screen and running process remain; later captures cannot recover discarded history.
free function
Raku LibTmux::Model::PaneRef.clear-history
Discard scrollback; visible screen contents and application state are unaffected.
on PaneRef
No Haskell equivalent.

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

No Perl equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference