Skip to content

Commit 99c4fdf

Browse files
domenkozarclaude
andcommitted
fix(tui): count all processes in status bar, not just running ones
The tree now shows all processes regardless of state, so the status bar count should match by counting all Process activities. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f7cafab commit 99c4fdf

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

devenv-tui/src/model.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,11 +1184,8 @@ impl ActivityModel {
11841184
summary.failed_tasks += 1
11851185
}
11861186
},
1187-
(ActivityVariant::Process(proc), NixActivityState::Active) => {
1188-
if proc.status == ProcessStatus::Running || proc.status == ProcessStatus::Ready
1189-
{
1190-
summary.running_processes += 1;
1191-
}
1187+
(ActivityVariant::Process(_), _) => {
1188+
summary.running_processes += 1;
11921189
}
11931190
_ => {}
11941191
}

0 commit comments

Comments
 (0)