# LibTmux.CommandPromptRequest

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Requests/CommandPromptRequest.cs#L26
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
- `ToCommand` (method): Returns a prompt request as one tmux command.
