Quick UI tweak

This commit is contained in:
Den Delimarsky 🌺
2025-09-19 18:24:29 -07:00
parent d1d5c82a8e
commit 8c3e9db3bf
4 changed files with 13 additions and 3 deletions

View File

@@ -240,9 +240,9 @@ def select_with_arrows(options: dict, prompt_text: str = "Select an option", def
for i, key in enumerate(option_keys):
if i == selected_index:
table.add_row("", f"[bright_cyan]{key}: {options[key]}[/bright_cyan]")
table.add_row("", f"[bright_cyan]{key}[/bright_cyan] [dim]({options[key]})[/dim]")
else:
table.add_row(" ", f"[white]{key}: {options[key]}[/white]")
table.add_row(" ", f"[cyan]{key}[/cyan] [dim]({options[key]})[/dim]")
table.add_row("", "")
table.add_row("", "[dim]Use ↑/↓ to navigate, Enter to select, Esc to cancel[/dim]")