aboutsummaryrefslogtreecommitdiff
path: root/src/plugin_command.rs
diff options
context:
space:
mode:
authorIan Ker-Seymer <i.kerseymer@gmail.com>2026-08-05 17:55:58 -0400
committerGitHub <noreply@github.com>2026-08-06 00:55:58 +0300
commit2d011c39b4f4cc5edd482ed8493c663463d18701 (patch)
tree0d362a0602868cfac102635ce68a75d6bb111445 /src/plugin_command.rs
parent2863b715132fe29e53089e06f105943d1df0b3b4 (diff)
fix(sidebar): highlight active agent in collapsed sidebar (#2382)
The collapsed sidebar renders agent rows with an unconditional Style::default().fg(p.overlay0), so the active agent is indistinguishable from the others. The workspace list directly above it, and render_agent_detail in the expanded sidebar, both mark the active entry. Reuse the existing active treatment: resolve the active entry with the same is_active_pane call the expanded agent panel uses, then paint the row background with surface_dim and the position number with text, the same tokens the collapsed workspace rows already use. Assisted-By: devx/717e5259-915f-4a7b-af07-6abe46da5b90
Diffstat (limited to 'src/plugin_command.rs')
0 files changed, 0 insertions, 0 deletions