Server.ShowCommandPromptAsync
Asks a client for input and runs a command with the answer.
Source and package
- Qualified name
-
LibTmux .Server. Show Command Prompt Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Interaction.cs
- Task ShowCommandPromptAsync( Command
Prompt request, CancellationRequest Token cancellationToken = default ) -
- Parameters
-
-
request(CommandPrompt ) – What to ask, and how.Request -
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.ShowCommandPromptAsync.
tmux command
task materialThe tmux commands behind ShowCommandPromptAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 4 other ports mappedSource-verified mappings for Ask a client for input and run a command with it. 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 Asks a client for input and runs a command with the answer. | This page |
| Python | libtmux Open a command prompt via $ tmux command-prompt. | None recorded in the model |
| Rust | server Open a command prompt on a client. | async |
| Go | tmux CommandPrompt asks tmux to display a background command prompt and returns after tmux accepts it, not after input is submitted or Template runs. It is available on every supported tmux. Later flags follow UnsupportedPolicy. Completed stderr is an error; cancellation does not prove prompt delivery or later execution. | None recorded in the model |
| Raku | Lib Prompt with explicit tmux template syntax. Commas separate prompts and inputs. | 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 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#.