Skip to content

Commit 3a55b19

Browse files
committed
fix: use ANSI red for yolo indicator to improve readability
The yolo indicator used hardcoded bright yellow (#ffff00) which is nearly invisible on light terminal backgrounds (e.g., Ghostty light theme). Switch to ANSI red which adapts to the terminal's color scheme and provides good contrast on both light and dark backgrounds. Red also better conveys the 'caution' semantics of yolo mode. Fixes #1301
1 parent 7ba9695 commit 3a55b19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/kimi_cli/ui/shell/prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ def _render_bottom_toolbar(self) -> FormattedText:
15671567
mode += f" ({', '.join(mode_details)})"
15681568
status = self._status_provider()
15691569
if status.yolo_enabled:
1570-
fragments.extend([("bold fg:#ffff00", "yolo"), ("", " " * 2)])
1570+
fragments.extend([("bold fg:ansired", "yolo"), ("", " " * 2)])
15711571
columns -= len("yolo") + 2
15721572
if status.plan_mode:
15731573
fragments.extend([("bold fg:#00aaff", "plan"), ("", " " * 2)])

0 commit comments

Comments
 (0)