# tmux.MenuItem

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/server_interactive.go#L73
- **Page:** https://libtmux.org/reference/go/tmux-menuitem/

MenuItem is one display-menu entry. Its zero value is a separator. A named item always contributes its name, key, and command to tmux, including empty key or command strings.

## Members

- `Name` (attribute) — Name is the visible item name; an empty name makes this item a separator.
- `Key` (attribute) — Key is the optional shortcut for a named item.
- `Command` (attribute) — Command is the tmux command for a named item.
