mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
fix: add missing newline to print mode text output
Fixes issue where -p flag output was missing trailing newline character, causing shell to display % symbol indicating incomplete output. 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
parent
b4311a3611
commit
a60697ce1f
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ export const RunCommand = cmd({
|
|||
|
||||
switch (outputFormat) {
|
||||
case "text":
|
||||
process.stdout.write(textResult)
|
||||
process.stdout.write(textResult + "\n")
|
||||
break
|
||||
|
||||
case "json":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue