bullets static method
Builds the legacy single-line bullet list: ⌘K Jump • Enter Confirm.
When dim is true the entire string is rendered with the theme's dim
color which is ideal for inline overlays. Otherwise the standard accent
gray is used to keep hints visually distinct from content.
Implementation
static String bullets(
List<String> segments,
PromptTheme theme, {
bool dim = false,
}) {
final color = dim ? theme.dim : theme.gray;
return '$color${segments.join(' • ')}${theme.reset}';
}