Interactive theme selector screen for /theme command.
Build the navigation hint for modals whose Tab keys move the cursor.
Only for screens where Tab and Shift+Tab step the selection. A modal that
binds Tab to something else writes its own line rather than using this one
-- mcp_viewer (Tab jumps between servers), model_selector (Tab
autocompletes), and plugin_manager (Tab cycles tabs) all do.
The hint is long enough to wrap once a modal narrows, so the host Static
needs height: auto to grow and dock: bottom to reserve the extra row.
Without the dock the wrapped row is laid out past the modal's bottom edge,
where the compositor never paints it.
Modal dialog for theme selection with live preview.
Displays available themes in an OptionList. Navigating the option list
applies a live preview by swapping the app theme. Returns the selected
theme name on Enter, or None on Esc. Esc normally restores the original
theme, but if a per-terminal default was saved with t this session, Esc
keeps that theme active instead of reverting.