Fix CLI logo wrapping in help output #8027

Open
opened 2026-02-16 18:08:57 -05:00 by yindo · 1 comment
Owner

Originally created by @Raviguntakala on GitHub (Jan 30, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

The CLI logo in opencode --help is currently distorted due to hardcoded text wrapping at 100 characters.
Proposed Fix: Disable wrapping (.wrap(null)) in yargs configuration to allow the ASCII art to render correctly on all terminal sizes.

Plugins

No response

OpenCode version

No response

Steps to reproduce

run opencode --help or dev --help

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Originally created by @Raviguntakala on GitHub (Jan 30, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description The CLI logo in opencode --help is currently distorted due to hardcoded text wrapping at 100 characters. Proposed Fix: Disable wrapping (.wrap(null)) in yargs configuration to allow the ASCII art to render correctly on all terminal sizes. ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce run opencode --help or dev --help ### Screenshot and/or share link <img width="1010" height="606" alt="Image" src="https://github.com/user-attachments/assets/70ab5b89-42c2-48c2-b67f-3204b0e0cebb" /> ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 18:08:57 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #11191: Broken logo for CLI on light theme
  • #8370: opencode logo glitch in TUI
  • #9695: Logo shown in opencode upgrade doesn't match the logo in the main TUI
  • #2725: /help commands wrap onto next line oddly

These issues all relate to CLI/help output display problems with the OpenCode logo and text wrapping. Feel free to ignore if your specific case differs from these.

@github-actions[bot] commented on GitHub (Jan 30, 2026): This issue might be a duplicate of existing issues. Please check: - #11191: Broken logo for CLI on light theme - #8370: opencode logo glitch in TUI - #9695: Logo shown in `opencode upgrade` doesn't match the logo in the main TUI - #2725: `/help` commands wrap onto next line oddly These issues all relate to CLI/help output display problems with the OpenCode logo and text wrapping. Feel free to ignore if your specific case differs from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8027