# Fix Cursor switcher metric and overview selection drops · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/2bab6a7f3c6bc05b64c1385436149598a9c0d8c6)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 2bab6a7f3c6bc05b64c1385436149598a9c0d8c6

Requested commit: 2bab6a7f3c6bc05b64c1385436149598a9c0d8c6

Commit: 2bab6a7f3c6bc05b64c1385436149598a9c0d8c6

Tree: 3a0aee3ba5be2ebbba4f839e6ad5e69a68060da5

Author: Simone

Committer: Simone

## Message

```
Fix Cursor switcher metric and overview selection drops

The Cursor "Included plan" fallback in switcherMetricRow was gated on
!usageBarsShowUsed, so enabling the "show used %" mode skipped the
synthetic providerCost row and displayed the exhausted primary window
instead. displayPercent already selects used/left per the toggle and the
synthetic row provides both, so the gate was an oversight.

toggleOverviewProvider rebuilt cfg_overviewProviderIDs only from the
currently-enabled overviewProviders list, silently dropping configured
IDs for providers that are temporarily disabled. Preserve those prior
selections so toggling one provider no longer erases another.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

```

## Parents

- [7c8f2f1b073065c00808bd4b4cecb7f3b12e4db2](https://git.cafe/lucenx/codexbar-plasma/commit/7c8f2f1b073065c00808bd4b4cecb7f3b12e4db2?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/2bab6a7f3c6bc05b64c1385436149598a9c0d8c6?format=markdown)
