fix(light mode): in light theme some words are not visible properly. #3064

Closed
opened 2026-02-16 17:38:26 -05:00 by yindo · 10 comments
Owner

Originally created by @MonuCarpenter on GitHub (Nov 23, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

Story
some characters are either not visible or its not formatted properly, im not sure its a opencode issue or what.

How to replicate:
send a message like write a cpp program

Image

OpenCode version

No response

Steps to reproduce

How to replicate:
send a message like write a cpp program

Screenshot and/or share link

https://opencode.ai/s/NQD6WU9Q

Operating System

mac os

Terminal

ghostyyy

Originally created by @MonuCarpenter on GitHub (Nov 23, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description Story some characters are either not visible or its not formatted properly, im not sure its a opencode issue or what. How to replicate: send a message like write a cpp program <img width="1016" height="738" alt="Image" src="https://github.com/user-attachments/assets/eede48af-ddee-4492-85e1-3856f3bcb4b0" /> ### OpenCode version _No response_ ### Steps to reproduce How to replicate: send a message like write a cpp program ### Screenshot and/or share link https://opencode.ai/s/NQD6WU9Q ### Operating System mac os ### Terminal ghostyyy
yindo added the bug label 2026-02-16 17:38:26 -05:00
yindo closed this issue 2026-02-16 17:38:26 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 23, 2025):

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

  • #4332: input field text is invisible when window is small
  • #3775: Text and Boxes need flexShrink=0 where they should not shrink (related to incorrect rendering and column positioning)
  • #3814: Strange characters appear between Chinese characters (related to character display issues)
  • #2593: opencode produces garbled text when input containing non-ascii characters (related to character formatting)

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

@github-actions[bot] commented on GitHub (Nov 23, 2025): This issue might be a duplicate of existing issues. Please check: - #4332: input field text is invisible when window is small - #3775: Text and Boxes need flexShrink=0 where they should not shrink (related to incorrect rendering and column positioning) - #3814: Strange characters appear between Chinese characters (related to character display issues) - #2593: opencode produces garbled text when input containing non-ascii characters (related to character formatting) Feel free to ignore if none of these address your specific case.
Author
Owner

@MonuCarpenter commented on GitHub (Nov 23, 2025):

Update

  • I have tried diff terminals like wezterm, ghosty etc; and here is what i noticed
    it works fine in dark theme but in the both the terminals in light mode it do not show some characters so its a bug in opencode> lighttheme
@MonuCarpenter commented on GitHub (Nov 23, 2025): **Update** - I have tried diff terminals like wezterm, ghosty etc; and here is what i noticed it works fine in dark theme but in the both the terminals in light mode it do not show some characters so its a bug in opencode> lighttheme
Author
Owner

@rekram1-node commented on GitHub (Nov 23, 2025):

Can u try running this and opening that session:

bunx opencode-ai@dev

^ or npx equivalent

we merged something last night that may have fixed this…

@rekram1-node commented on GitHub (Nov 23, 2025): Can u try running this and opening that session: bunx opencode-ai@dev ^ or npx equivalent we merged something last night that may have fixed this…
Author
Owner

@MonuCarpenter commented on GitHub (Nov 23, 2025):

I think u mean to take the pull and and build locally? I installed it using brew. so is there any way to install beta version?

I think it's better to wait for the next stable version, it's not a blocker for me for now.

@MonuCarpenter commented on GitHub (Nov 23, 2025): I think u mean to take the pull and and build locally? I installed it using brew. so is there any way to install beta version? I think it's better to wait for the next stable version, it's not a blocker for me for now.
Author
Owner

@rekram1-node commented on GitHub (Nov 23, 2025):

nope I meant we publish dev snapshots so you can run the latest dev build, it doesnt affect your environments it wont break ur versions it is just an easy way to test current dev build

@rekram1-node commented on GitHub (Nov 23, 2025): nope I meant we publish dev snapshots so you can run the latest dev build, it doesnt affect your environments it wont break ur versions it is just an easy way to test current dev build
Author
Owner

@MonuCarpenter commented on GitHub (Nov 23, 2025):

@rekram1-node IT GOT FIXED!! YOU ARE GENIUS!!!

Image
@MonuCarpenter commented on GitHub (Nov 23, 2025): @rekram1-node IT GOT FIXED!! YOU ARE GENIUS!!! <img width="592" height="188" alt="Image" src="https://github.com/user-attachments/assets/a535e0c6-2a48-495e-92e9-501523fc7200" />
Author
Owner

@rekram1-node commented on GitHub (Nov 23, 2025):

Haha, all the thanks goes to @tylimbach he fixed it yesterday:
https://github.com/sst/opencode/commit/35fead2eca3f2159ba30c5f23d91b6682b367ad4

We will release this later today

@rekram1-node commented on GitHub (Nov 23, 2025): Haha, all the thanks goes to @tylimbach he fixed it yesterday: https://github.com/sst/opencode/commit/35fead2eca3f2159ba30c5f23d91b6682b367ad4 We will release this later today
Author
Owner

@MonuCarpenter commented on GitHub (Nov 23, 2025):

@rekram1-node is it written in typescript? i saw a tsx file. WHHHHYYYYY. why not rust?

@MonuCarpenter commented on GitHub (Nov 23, 2025): @rekram1-node is it written in typescript? i saw a tsx file. WHHHHYYYYY. why not rust?
Author
Owner

@rekram1-node commented on GitHub (Nov 23, 2025):

LOL, the underlying stuff is all in Zig. We are just using typescript bindings because it is easier to get people to contribute to

@rekram1-node commented on GitHub (Nov 23, 2025): LOL, the underlying stuff is all in Zig. We are just using typescript bindings because it is easier to get people to contribute to
Author
Owner

@MonuCarpenter commented on GitHub (Nov 23, 2025):

@rekram1-node Yeah, that's a smart approach! I've been using TypeScript since 2022, and with so many devs familiar with it, bindings for Zig and Rust make frontend and backend integration way smoother—like I bind with Rust for backend. Great choice!

@MonuCarpenter commented on GitHub (Nov 23, 2025): @rekram1-node Yeah, that's a smart approach! I've been using TypeScript since 2022, and with so many devs familiar with it, bindings for Zig and Rust make frontend and backend integration way smoother—like I bind with Rust for backend. Great choice!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3064