Просмотр исходного кода

fix: reset text styling after thinking output

Dax Raad 2 месяцев назад
Родитель
Сommit
651f173a2f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/opencode/src/cli/cmd/run.ts

+ 1 - 1
packages/opencode/src/cli/cmd/run.ts

@@ -423,7 +423,7 @@ export const RunCommand = cmd({
               const line = `Thinking: ${text}`
               const line = `Thinking: ${text}`
               if (process.stdout.isTTY) {
               if (process.stdout.isTTY) {
                 UI.empty()
                 UI.empty()
-                UI.println(`\u001b[3m${line}\u001b[0m`)
+                UI.println(`${UI.Style.TEXT_DIM}\u001b[3m${line}\u001b[0m${UI.Style.TEXT_NORMAL}`)
                 UI.empty()
                 UI.empty()
                 continue
                 continue
               }
               }