Преглед изворни кода

cli: add empty lines around thinking output

Dax Raad пре 2 месеци
родитељ
комит
0bb2c77bb8
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      packages/opencode/src/cli/cmd/run.ts

+ 2 - 0
packages/opencode/src/cli/cmd/run.ts

@@ -420,7 +420,9 @@ export const RunCommand = cmd({
               if (!text) continue
               const line = `Thinking: ${text}`
               if (process.stdout.isTTY) {
+                UI.empty()
                 UI.println(`\u001b[3m${line}\u001b[0m`)
+                UI.empty()
                 continue
               }
               process.stdout.write(line + EOL)