# LibTmux.CommandPromptRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Requests/CommandPromptRequest.cs#L24
- **Page:** https://libtmux.org/reference/dotnet/libtmux-commandpromptrequest/

Describes one <c>command-prompt</c> invocation.

## Members

- `CommandPromptRequest` (method) — Initializes a command prompt.
- `Template` (property) — Gets the command to run, with the answer substituted in.
- `Prompt` (property) — Gets the text shown to the person answering.
- `Inputs` (property) — Gets the answer the prompt starts with.
- `TargetClient` (property) — Gets the client to prompt, or null for the caller's own.
- `OneKey` (property) — Gets whether one keypress answers it.
- `KeyOnly` (property) — Gets whether the answer is the key itself rather than text.
- `OnInputChange` (property) — Gets whether the command runs on every keystroke.
- `Numeric` (property) — Gets whether only digits are accepted.
- `Type` (property) — Gets what the prompt is asking for.
- `ExpandFormat` (property) — Gets whether the template is expanded as a format.
- `Literal` (property) — Gets whether the answer is taken literally.
- `BackspaceExits` (property) — Gets whether backspace on an empty prompt closes it.
- `NoFreeze` (property) — Gets whether the client keeps redrawing while prompting.
