You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
claudbg/.beans/claudbg-8bs3--tui-color-hig...

12 lines
768 B
Markdown

---
# claudbg-8bs3
title: 'TUI: color-highlight selected agent row instead of ''>'' cursor'
status: in-progress
type: feature
priority: normal
created_at: 2026-04-01T06:11:10Z
updated_at: 2026-04-01T06:15:41Z
---
In the sub-agents panel (transcript screen), the currently selected/viewed agent is shown with a '>' prefix and yellow text. Instead, use row-level color highlighting (e.g. reversed or bold style on the full row) so the cursor character is not needed — matching how ratatui Table highlights work.\n\nThe rendering is in the subagent_lines iterator in src/tui/screens/transcript.rs. Replace the '> {short_id} {agent_type}' format with ' {short_id} {agent_type}' and apply a highlight style (e.g. Modifier::REVERSED) to the selected row span instead.