CommandPromptRequest
CommandPromptRequest configures a background tmux command prompt. Its zero value is invalid because Template is required; nil pointer fields omit flags while explicit empty values are passed to tmux.
Source and package
- Qualified name
-
tmux.Command Prompt Request - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/server_interactive.go
Fields13#
| Name | Type | Description |
|---|---|---|
| BackspaceExit | bool | BackspaceExit exits on backspace and requires tmux 3.7; see UnsupportedPolicy. |
| ExpandFormat | bool | ExpandFormat expands formats in the prompt result. |
| Inputs | *string | Inputs supplies initial prompt inputs when nonnil. |
| KeyOnly | bool | KeyOnly limits accepted input to keys. |
| Literal | bool | Literal disables key-name parsing and requires tmux 3.6; see UnsupportedPolicy. |
| NoFreeze | bool | NoFreeze leaves the pane unfrozen and requires tmux 3.7; see UnsupportedPolicy. |
| Numeric | bool | Numeric restricts accepted input to a number. |
| OneKey | bool | OneKey accepts one key rather than a line. |
| OnInputChange | bool | OnInputChange runs Template after each input change. |
| Prompt | *string | Prompt replaces tmux's prompt text when nonnil. |
| TargetClient | Client | TargetClient selects the stable client that displays the prompt. |
| Template | string | Template is the required tmux command template submitted by the prompt. |
| Type | Prompt | Type selects the associated prompt-history class; zero omits -T. |