feat: flash terminal background on focus and fix active tag alignment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-02-24 12:52:10 +00:00
parent bd3df2be9c
commit f8c6a5f584
2 changed files with 28 additions and 9 deletions

View File

@@ -125,15 +125,15 @@ function fmtProjectRow(project: Project, isSelected: boolean) {
if (project.activeSessions > 0) {
if (project.busySessions > 0) {
activeDot = green("●")
activeTag = project.activeSessions > 1 ? yellow(String(project.activeSessions)) : " "
activeTag = project.activeSessions > 1 ? yellow(String(project.activeSessions).padEnd(2)) : " "
} else {
activeDot = yellow("◉")
const elapsed = elapsedCompact(project.lastActivityMs)
activeTag = elapsed ? dim(elapsed.padEnd(2).slice(0, 2)) : " "
activeTag = elapsed ? dim(elapsed.padEnd(2).slice(0, 2)) : " "
}
} else {
activeDot = dim("○")
activeTag = " "
activeTag = " "
}
const check = isSelected ? green("✓") : " "
const arrow = project.expanded ? "▼" : "▶"