Client.MenuItem
A menu entry. Empty labels are separators; labels retain tmux display styles.
Source and package
- Qualified name
-
LibTmux:: Client:: Menu Item - Module
- LibTmux
- Declared in
Client- Package
- LibTmux
- Source
- lib/LibTmux/Client.rakumod
-
Description#
A menu entry. Empty labels are separators; labels retain tmux display styles.
Members5#
- clone method Revalidate a modified entry, including separator and command consistency.
- command: Invocation property Command executed on selection; undefined only for a separator.
- disabled: Bool:D property Render an unavailable item whose command cannot be selected.
- key: Str:D property Native tmux key name; empty text leaves the item without a shortcut.
- label: Str:D property Display text with tmux styles retained; an empty label creates a separator.