From 9b20b91a990a9d4a2ea2bc5b84934c17dd8e2866 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Tue, 11 Nov 2025 20:40:35 +0100 Subject: [PATCH] Make stats darker gray and remove extra newline after header --- packages/coding-agent/src/tui-renderer.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/coding-agent/src/tui-renderer.ts b/packages/coding-agent/src/tui-renderer.ts index 993b2fe0..9a6ac2e8 100644 --- a/packages/coding-agent/src/tui-renderer.ts +++ b/packages/coding-agent/src/tui-renderer.ts @@ -89,7 +89,7 @@ class StreamingMessageComponent extends Container { if (usage.cacheWrite) statsParts.push(`W${formatTokens(usage.cacheWrite)}`); if (usage.cost?.total) statsParts.push(`$${usage.cost.total.toFixed(3)}`); - this.statsText.setText(chalk.dim(statsParts.join(" "))); + this.statsText.setText(chalk.gray(statsParts.join(" "))); } else { this.statsText.setText(""); } @@ -271,7 +271,7 @@ class FooterComponent { const statsLine = statsParts.join(" "); // Return two lines: pwd and stats - return [chalk.dim(pwd), chalk.dim(statsLine)]; + return [chalk.gray(pwd), chalk.gray(statsLine)]; } } @@ -349,7 +349,7 @@ export class TuiRenderer { "/" + chalk.gray(" for commands"), ); - const header = new Text(logo + "\n" + instructions + "\n"); + const header = new Text(logo + "\n" + instructions); // Setup UI layout this.ui.addChild(header); @@ -606,7 +606,7 @@ export class TuiRenderer { if (usage.cost?.total) statsParts.push(`$${usage.cost.total.toFixed(3)}`); if (statsParts.length > 0) { - const statsText = new Text(chalk.dim(statsParts.join(" ")), 1, 0); + const statsText = new Text(chalk.gray(statsParts.join(" ")), 1, 0); this.chatContainer.addChild(statsText); // Add empty line after stats this.chatContainer.addChild(new Text("", 0, 0));