Files
David Gageot c594c0e311 fix(tui): keep /cost dialog cache fresh on live updates and theme changes
Key the cache on a cheap session fingerprint (width + item count +
tokens/cost) so usage streamed in while the dialog is open refreshes
the view; clear it on ThemeChangedMsg since cached lines carry styled
ANSI output. Adds unit coverage for lrucache.EnsureCapacity and a
live-refresh regression test.

Assisted-By: Claude <claude@anthropic.com>
2026-07-17 11:02:20 +02:00
..