Skip to content

Spinner Menu View

A spinner menu view displays one item at a time from a list, cycling through them in place. It is used to pick a single option from a set — a theme, a state, a protocol. Items are selected with the cursor keys or by a hotKey.

Only the focused item is visible at any time, so width should be wide enough for the longest item in the list (default 15).

Example

Configuration fragment (expand to view)
SM1: {
submit: true
argName: themeSelect
items: [
{
text: Light
data: light
}
{
text: Dark
data: dark
}
{
text: Rainbow
data: rainbow
}
{
text: Gruvbox
data: gruvbox
}
]
}