cli: add empty lines around thinking output
This commit is contained in:
parent
48db3981e4
commit
0bb2c77bb8
1 changed files with 2 additions and 0 deletions
|
|
@ -420,7 +420,9 @@ export const RunCommand = cmd({
|
||||||
if (!text) continue
|
if (!text) continue
|
||||||
const line = `Thinking: ${text}`
|
const line = `Thinking: ${text}`
|
||||||
if (process.stdout.isTTY) {
|
if (process.stdout.isTTY) {
|
||||||
|
UI.empty()
|
||||||
UI.println(`\u001b[3m${line}\u001b[0m`)
|
UI.println(`\u001b[3m${line}\u001b[0m`)
|
||||||
|
UI.empty()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
process.stdout.write(line + EOL)
|
process.stdout.write(line + EOL)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue