Add $ prefix to cost in footer

Fixes #53
This commit is contained in:
Mario Zechner 2025-11-25 21:32:52 +01:00
parent 0148f0ac3d
commit b42df6848c
4 changed files with 68 additions and 79 deletions

View file

@ -85,7 +85,7 @@ export class FooterComponent implements Component {
if (totalOutput) statsParts.push(`${formatTokens(totalOutput)}`);
if (totalCacheRead) statsParts.push(`R${formatTokens(totalCacheRead)}`);
if (totalCacheWrite) statsParts.push(`W${formatTokens(totalCacheWrite)}`);
if (totalCost) statsParts.push(`${totalCost.toFixed(3)}`);
if (totalCost) statsParts.push(`$${totalCost.toFixed(3)}`);
// Colorize context percentage based on usage
let contextPercentStr: string;