libtmux Reference MCP Search
On this page

tmux.DisplayMenuRequest

View as Markdown

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

DisplayMenuRequest configures one tmux popup menu. Position and style strings retain tmux's format and symbolic-position languages verbatim. Its zero value is invalid because Items is required. All pointer fields omit their flags when nil and retain explicit empty strings; DisplayMenu copies Items before calling tmux. TargetPane and TargetClient are independent but must be stable identities when present.

13 declared, 0 inherited

Members

  • BorderLines attribute BorderLines selects border glyphs and requires tmux 3.4; see UnsupportedPolicy.
  • BorderStyle attribute BorderStyle selects border style and requires tmux 3.4; see UnsupportedPolicy.
  • Items attribute Items are menu rows; a zero MenuItem is a separator.
  • Mouse attribute Mouse enables mouse selection and requires tmux 3.5; see UnsupportedPolicy.
  • SelectedStyle attribute SelectedStyle selects highlighted-item style and requires tmux 3.4; see UnsupportedPolicy.
  • StartingChoice attribute StartingChoice selects the initial item and requires tmux 3.4; see UnsupportedPolicy.
  • StayOpen attribute StayOpen keeps the menu visible after selecting an item.
  • Style attribute Style selects menu style and requires tmux 3.4; see UnsupportedPolicy.
  • TargetClient attribute TargetClient selects the client that renders the menu.
  • TargetPane attribute TargetPane supplies pane context for format expansion.
  • Title attribute Title is the optional menu title.
  • X attribute X is tmux's horizontal position expression.
  • Y attribute Y is tmux's vertical position expression.
Esc

Type to search.