fix(cli): add missing trailing newline to stderr output#33367
fix(cli): add missing trailing newline to stderr output#33367aslobodeniuk wants to merge 1 commit into
Conversation
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate PRs FoundThere are two related PRs that address similar trailing newline issues:
Why they're related: These PRs all target the same root issue of missing trailing newlines in CLI output (stderr/stdout). The current PR (#33367) addresses stderr output specifically, while the older PRs address help output. It's worth checking if these previously merged fixes should have already covered this issue, or if this is a different code path that still needs the fix. |
When I run opencode session it's missing a newline in the end of the output, and confuses my terminal
8c8b40d to
1012174
Compare
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Issue for this PR
Fixes #33370
Type of change
What does this PR do?
Just adding a missing newline if it's not there. Yes the fix was done by the AI, and we can argue if it's the right place.
It could also be the missing newline in the actual "session" command, but assuming
opencodeis widely coded with AI (would be too ironic otherwise) the fix seems fair in a sake of "autoprotection".If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
Here's the screenshot of "after the fix" command and then "before the fix" command:
Checklist
If you do not follow this template your PR will be automatically rejected.