libtmux Reference MCP Search
On this page

tmux.CommandPromptRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_interactive.go
struct tmux.CommandPromptRequest
struct [source]
struct [source]
struct tmux.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.

13 declared, 0 inherited

Members

  • BackspaceExit attribute BackspaceExit exits on backspace and requires tmux 3.7; see UnsupportedPolicy.
  • ExpandFormat attribute ExpandFormat expands formats in the prompt result.
  • Inputs attribute Inputs supplies initial prompt inputs when nonnil.
  • KeyOnly attribute KeyOnly limits accepted input to keys.
  • Literal attribute Literal disables key-name parsing and requires tmux 3.6; see UnsupportedPolicy.
  • NoFreeze attribute NoFreeze leaves the pane unfrozen and requires tmux 3.7; see UnsupportedPolicy.
  • Numeric attribute Numeric restricts accepted input to a number.
  • OneKey attribute OneKey accepts one key rather than a line.
  • OnInputChange attribute OnInputChange runs Template after each input change.
  • Prompt attribute Prompt replaces tmux's prompt text when nonnil.
  • TargetClient attribute TargetClient selects the stable client that displays the prompt.
  • Template attribute Template is the required tmux command template submitted by the prompt.
  • Type attribute Type selects the associated prompt-history class; zero omits -T.
Esc

Type to search.