Commit 029c82f1837a
Changed files (2)
dots
pi
agent
extensions
dots/pi/agent/extensions/prompt-editor.ts
@@ -350,7 +350,7 @@ function getModeBorderColor(ctx: ExtensionContext, pi: ExtensionAPI, mode: strin
// Hex color from modes.json
if (spec?.color && /^#[0-9a-fA-F]{6}$/.test(spec.color)) {
const ansi = hexToAnsi(spec.color);
- return (text: string) => `${ansi}${text}\x1b[0m`;
+ return (text: string) => `${ansi}${text}\x1b[39m`;
}
// Theme token fallback