Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

struct libtmux-go latest

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.

Source and package
Qualified name
tmux.ConfirmBeforeRequest
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_interactive.go
struct tmux.ConfirmBeforeRequest

Fields5#

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

Type to search.

Reference previewOpen reference