Server.GetPromptHistoryAsync
Reads what has been typed at command prompts.
Source and package
- Qualified name
-
LibTmux .Server. Get Prompt History Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Interaction.cs
- async Task<IRead
Only <string>> GetPromptHistoryAsync( PromptList Type ? type = null, CancellationToken cancellationToken = default ) -
- Parameters
-
-
type(PromptType ?) – Which history to read, or null for all of them.Default
null -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
One line per remembered entry.
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.GetPromptHistoryAsync.
tmux command
task materialThe tmux commands behind GetPromptHistoryAsync.
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 Read 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 Reads what has been typed at command prompts. | This page |
| Python | libtmux Show prompt history via $ tmux show-prompt-history. | None recorded in the model |
| Rust | server The entries tmux remembers for one kind of prompt. | None recorded in the model |
| Go | tmux ShowPromptHistory returns an owned snapshot of tmux prompt-history lines. It is available on every supported tmux. A tmux command or transport failure is returned rather than answered with no history. | None recorded in the model |
| Java | io What has been typed at the prompt, oldest first. | on Prompt |
| Raku | Lib Return raw prompt-history output, without claiming newline-safe entry framing. | 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#.