Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/ccusage/src/_live-rendering.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,11 @@ export function renderLiveDisplay(terminal: TerminalManager, block: SessionBlock
const detailsSpacing = 2; // Fixed spacing between columns
const detailsAvailableWidth = boxWidth - 3 - detailsIndent; // Available width for content

// Draw header
// Draw header with deprecation warning
terminal.write(`${marginStr}┌${'─'.repeat(boxWidth - 2)}┐\n`);
terminal.write(`${marginStr}│${pc.bold(centerText('CLAUDE CODE - LIVE TOKEN USAGE MONITOR', boxWidth - 2))}│\n`);
terminal.write(`${marginStr}│${pc.yellow(centerText('⚠️ DEPRECATED - Will be removed in next major version', boxWidth - 2))}│\n`);
terminal.write(`${marginStr}│${pc.gray(centerText('Use https://claude.ai/settings/usage instead', boxWidth - 2))}│\n`);
terminal.write(`${marginStr}├${'─'.repeat(boxWidth - 2)}┤\n`);
terminal.write(`${marginStr}│${' '.repeat(boxWidth - 2)}│\n`);

Expand Down
Loading