libtmux Reference MCP Search
On this page

LibTmux.CommandPromptRequest.CommandPromptRequest

View as Markdown

Module
LibTmux
Declared in
CommandPromptRequest
Package
LibTmux
Source
src/LibTmux/Requests/CommandPromptRequest.cs
CommandPromptRequest
( 13 parameters ) ( template : string , prompt : string? , inputs : string? , targetClient : string? , oneKey : bool , keyOnly : bool , onInputChange : bool , numeric : bool , type : PromptType? , expandFormat : bool , literal : bool , backspaceExits : bool , noFreeze : bool )
method [source]
method [source]
CommandPromptRequest

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

Esc

Type to search.