CLI logo not properly displaying with opencode --help #8764

Closed
opened 2026-02-16 18:10:47 -05:00 by yindo · 2 comments
Owner

Originally created by @AksharP5 on GitHub (Feb 7, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When you run opencode --help, the ascender block for the d in "code" appears in a different position than in commands like opencode upgrade, opencode web, and opencode uninstall.

  • Root cause: --help goes through yargs/cliui/wrap-ansi formatting, which trims leading whitespace in multiline usage text. Other commands print the logo directly, so leading spaces are preserved.

Plugins

@mohak34/opencode-notifier @0.1.10

OpenCode version

1.1.53

Steps to reproduce

  1. Run opencode --help
  2. See output logo

Screenshot and/or share link

Current:
Image

Operating System

macOS

Terminal

WezTerm

Originally created by @AksharP5 on GitHub (Feb 7, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When you run `opencode --help`, the ascender block for the d in "code" appears in a different position than in commands like `opencode upgrade`, `opencode web`, and `opencode uninstall`. - Root cause: --help goes through yargs/cliui/wrap-ansi formatting, which trims leading whitespace in multiline usage text. Other commands print the logo directly, so leading spaces are preserved. ### Plugins @mohak34/opencode-notifier @0.1.10 ### OpenCode version 1.1.53 ### Steps to reproduce 1. Run `opencode --help` 2. See output logo ### Screenshot and/or share link Current: <img width="337" height="72" alt="Image" src="https://github.com/user-attachments/assets/eaa58ec4-8d7f-4686-a437-7ef4671f474c" /> ### Operating System macOS ### Terminal WezTerm
yindo added the bug label 2026-02-16 18:10:47 -05:00
yindo closed this issue 2026-02-16 18:10:47 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 7, 2026):

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

  • #11278: Fix CLI logo wrapping in help output

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 7, 2026): This issue might be a duplicate of existing issues. Please check: - #11278: Fix CLI logo wrapping in help output Feel free to ignore if none of these address your specific case.
Author
Owner

@AksharP5 commented on GitHub (Feb 7, 2026):

Will close due to other issues resolving this, I think #11278 resolves this well.

@AksharP5 commented on GitHub (Feb 7, 2026): Will close due to other issues resolving this, I think #11278 resolves this well.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8764