Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/ucode/mcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,8 @@ def _picker_style() -> questionary.Style:
return questionary.Style(
[
("pointer", "fg:cyan bold"),
("highlighted", "fg:white noinherit"),
("selected", "fg:white noinherit"),
("highlighted", "noinherit"),
("selected", "noinherit"),
("answer", "fg:cyan"),
]
)
Expand Down
12 changes: 6 additions & 6 deletions src/ucode/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ def prompt_for_tools(available: list[tuple[str, str]]) -> list[str]:
"""
style = questionary.Style(
[
# questionary applies `selected` to *checked* rows and
# `highlighted` to the cursor row — overriding both to plain
# white means only the indicator and the `›` pointer carry
# signal, instead of the entire row inverting.
# Theme-agnostic picker: every row renders in the terminal's
# default foreground colour (`noinherit` strips the
# prompt_toolkit defaults that would otherwise re-colour the
# cursor row or every checked row).
("pointer", "fg:cyan bold"),
("highlighted", "fg:white noinherit"),
("selected", "fg:white noinherit"),
("highlighted", "noinherit"),
("selected", "noinherit"),
("answer", "fg:cyan"),
]
)
Expand Down
Loading