libtmux Reference MCP Search
On this page

tmux.ConfirmBeforeRequest

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_interactive.go
struct tmux.ConfirmBeforeRequest
struct [source]
struct [source]
struct tmux.ConfirmBeforeRequest

ConfirmBeforeRequest configures a background tmux confirmation prompt. Its zero value is invalid because Command is required. Nil pointer fields omit their flags while explicit empty strings are passed to tmux; ConfirmKey must be one printable ASCII character.

5 declared, 0 inherited

Members

  • Command attribute Command is the required tmux command shown for confirmation.
  • ConfirmKey attribute ConfirmKey selects the affirmative key and requires tmux 3.4; see UnsupportedPolicy.
  • DefaultYes attribute DefaultYes selects yes by default and requires tmux 3.4; see UnsupportedPolicy.
  • Prompt attribute Prompt replaces tmux's prompt when nonnil.
  • TargetClient attribute TargetClient selects the stable client that displays the prompt.
Esc

Type to search.