# tmux.MenuItem

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/server_interactive.go#L73
- **Page:** https://libtmux.org/en/go/latest/reference/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.
