(active: number, max: number, mode: SpawnMode)
| 472 | }, |
| 473 | |
| 474 | updateSessionCount(active: number, max: number, mode: SpawnMode): void { |
| 475 | if (sessionActive === active && sessionMax === max && spawnMode === mode) |
| 476 | return |
| 477 | sessionActive = active |
| 478 | sessionMax = max |
| 479 | spawnMode = mode |
| 480 | // Don't re-render here — the status ticker calls renderStatusLine |
| 481 | // on its own cadence, and the next tick will pick up the new values. |
| 482 | }, |
| 483 | |
| 484 | setSpawnModeDisplay(mode: 'same-dir' | 'worktree' | null): void { |
| 485 | if (spawnModeDisplay === mode) return |
nothing calls this directly
no outgoing calls
no test coverage detected