[PR #11280] fix(cli): disable yargs wrapping to fix logo display #13728

Open
opened 2026-02-16 18:18:33 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11280

State: open
Merged: No


Updates the yargs configuration in packages/opencode/src/index.ts to use .wrap(null).

The previous .wrap(100) setting caused the ASCII logo to wrap and distort on standard terminals. Disabling wrapping ensures the logo renders as intended.

Testing:
Verified locally with bun dev --help.
confirmed logo is no longer distorted.

Before :
image
After :
image

fixes : #11278

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11280 **State:** open **Merged:** No --- Updates the yargs configuration in packages/opencode/src/index.ts to use .wrap(null). The previous .wrap(100) setting caused the ASCII logo to wrap and distort on standard terminals. Disabling wrapping ensures the logo renders as intended. Testing: Verified locally with bun dev --help. confirmed logo is no longer distorted. Before : <img width="2020" height="1212" alt="image" src="https://github.com/user-attachments/assets/3683cafb-4a53-4e46-a296-a63a586e7a65" /> After : <img width="1023" height="672" alt="image" src="https://github.com/user-attachments/assets/22e4ec9c-fc67-410f-8e05-e8b7e45e65ff" /> fixes : #11278
yindo added the pull-request label 2026-02-16 18:18:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13728