On this page
LibTmux.CommandPromptRequest.CommandPromptRequest
- Module
- LibTmux
- Declared in
- CommandPromptRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/CommandPromptRequest.cs
-
Initializes a command prompt.
- Parameters
-
-
template ( string ) – The command to run, with the answer substituted in.
-
prompt ( string? ) – The text shown to the person answering.
-
inputs ( string? ) – The answer the prompt starts with.
-
targetClient ( string? ) – The client to prompt, or null for the caller's own.
-
oneKey ( bool ) – Whether one keypress answers it.
-
keyOnly ( bool ) – Whether the answer is the key itself rather than text.
-
onInputChange ( bool ) – Whether the command runs on every keystroke.
-
numeric ( bool ) – Whether only digits are accepted.
-
type ( PromptType? ) – What the prompt is asking for.
-
expandFormat ( bool ) – Whether the template is expanded as a format.
-
literal ( bool ) – Whether the answer is taken literally.
-
backspaceExits ( bool ) – Whether backspace on an empty prompt closes it.
-
noFreeze ( bool ) – Whether the client keeps redrawing while prompting.
-
0 declared, 0 inherited