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-java

Prompt.clear

Forgets what has been typed at the prompt.

Source and package
Qualified name
io.github.libtmux.Prompt.clear
Package
io.github.libtmux
Declared in
Prompt
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Prompt.java

Recorded calls

source calls
No call edges in the Java model.

The Java 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 io.github.libtmux.Prompt.clear.

tmux command

task material

The tmux commands behind clear.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 5 other ports mapped

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

Forget what has been typed at command prompts in each port
PortAPIDiffers from Java
Java io.github.libtmux.Prompt.clear
Forgets what has been typed at the prompt.
This page
Python libtmux.Server.clear_prompt_history
Clear prompt history via $ tmux clear-prompt-history.
on Server
Rust server.Server.clear_prompt_history
Forget the entries tmux remembers for prompts.
asyncon Server
Go tmux.Server.ClearPromptHistory
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.
on Server
C# LibTmux.Server.ClearPromptHistoryAsync
Forgets what has been typed at command prompts.
on Server
Raku LibTmux::Model::ClientRef.clear-prompt-history
Clear the daemon's selected prompt history; it is shared across clients.
on ClientRef
No Haskell equivalent.

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

No TypeScript equivalent.

no equivalent on Server

No C++ equivalent.

no equivalent on Server

No Swift equivalent.

no equivalent on Server

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

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, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc
Search in

Type to search.

Reference previewOpen reference