Server.ClearPromptHistoryAsync
Forgets what has been typed at command prompts.
Source and package
- Qualified name
-
LibTmux .Server. Clear Prompt History Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Interaction.cs
- Task ClearPromptHistoryAsync( Prompt
Type ? type = null, CancellationToken cancellationToken = default ) -
- Parameters
-
-
type(PromptType ?) – Which history to clear, or null for all of them.Default
null -
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.Server.ClearPromptHistoryAsync.
tmux command
task materialThe tmux commands behind ClearPromptHistoryAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 5 other ports mappedSource-verified mappings for Forget what has been typed at command prompts. 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 what has been typed at command prompts. | This page |
| Python | libtmux Clear prompt history via $ tmux clear-prompt-history. | None recorded in the model |
| Rust | server Forget the entries tmux remembers for prompts. | async |
| Go | tmux ClearPromptHistory clears all tmux prompt history or one selected class. Version, transport, and completed-stderr failures are returned. It is available on every supported tmux. | None recorded in the model |
| Java | io Forgets what has been typed at the prompt. | on Prompt |
| Raku | Lib Clear the daemon's selected prompt history; it is shared across clients. | on ClientRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
no equivalent on Server
no equivalent on Server
no equivalent on Server
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.