[PR #117] [MERGED] Fix: Improve Help UI Readability (Issue #99) #9539

Closed
opened 2026-02-16 18:13:44 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/117
Author: @GPotoshin
Created: 6/15/2025
Status: Merged
Merged: 6/15/2025
Merged by: @adamdotdevin

Base: devHead: dev


📝 Commits (1)

  • d875579 fix: Use default text color in help for better readability in light mode

📊 Changes

1 file changed (+7 additions, -9 deletions)

View changed files

📝 packages/opencode/src/cli/ui.ts (+7 -9)

📄 Description

This is a little fix for the following issue: https://github.com/sst/opencode/issues/99.

Unfortunately, I couldn't find any consistent way to request for the terminal's theme mode across different applications; none of the methods I tried worked in my iTerm2 terminal. Also, because sending ASCII codes for colors isn't consistent, the white color may differ from the default foreground color.

Here are a few screenshots of the changes:

Before:
Screenshot 2025-06-15 at 14 42 30
Screenshot 2025-06-15 at 14 43 20

With changes:
Screenshot 2025-06-15 at 15 07 34
Screenshot 2025-06-15 at 15 08 05


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/117 **Author:** [@GPotoshin](https://github.com/GPotoshin) **Created:** 6/15/2025 **Status:** ✅ Merged **Merged:** 6/15/2025 **Merged by:** [@adamdotdevin](https://github.com/adamdotdevin) **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`d875579`](https://github.com/anomalyco/opencode/commit/d87557919e3d54c2b4894734bacb6946785bb045) fix: Use default text color in help for better readability in light mode ### 📊 Changes **1 file changed** (+7 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/cli/ui.ts` (+7 -9) </details> ### 📄 Description This is a little fix for the following issue: https://github.com/sst/opencode/issues/99. Unfortunately, I couldn't find any consistent way to request for the terminal's theme mode across different applications; none of the methods I tried worked in my iTerm2 terminal. Also, because sending ASCII codes for colors isn't consistent, the white color may differ from the default foreground color. Here are a few screenshots of the changes: Before: <img width="976" alt="Screenshot 2025-06-15 at 14 42 30" src="https://github.com/user-attachments/assets/36ed0946-9990-4271-9e4c-4e1b16924224" /> <img width="973" alt="Screenshot 2025-06-15 at 14 43 20" src="https://github.com/user-attachments/assets/fdb2df88-1b87-48bc-b5a8-28dc3ab1d13a" /> With changes: <img width="968" alt="Screenshot 2025-06-15 at 15 07 34" src="https://github.com/user-attachments/assets/d68a27aa-2efc-4c35-8df5-0643c8e99f68" /> <img width="967" alt="Screenshot 2025-06-15 at 15 08 05" src="https://github.com/user-attachments/assets/7d6b4ff1-0633-4b1b-a875-80913fc3a9e6" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:13:44 -05:00
yindo closed this issue 2026-02-16 18:13:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9539