fix(tui): address follow-up review nits

This commit is contained in:
Brooklyn Nicholson
2026-04-26 05:06:57 -05:00
parent a0aebad673
commit 2e6c3c7d23
6 changed files with 44 additions and 35 deletions

View File

@@ -3743,7 +3743,13 @@ def _details_completions(text: str) -> list[dict] | None:
return [
_details_completion_item(
candidate,
"section override" if candidate in sections else "global mode",
(
"section override"
if candidate in sections
else "cycle global mode"
if candidate == "cycle"
else "global mode"
),
)
for candidate in candidates
if candidate.startswith(prefix) and candidate != prefix