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

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.

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

Fields3#

MenuItem fields
NameTypeDescription
Command string Command is the tmux command for a named item.
Key string Key is the optional shortcut for a named item.
Name string Name is the visible item name; an empty name makes this item a separator.
Esc

Type to search.

Reference previewOpen reference