You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Diffs invisible on light mode, regardless of theme #4928
Hi, edits have become illegible on my light-mode terminal. All/most diffs colors seem to be baked to white, so only on dark backgrounds they become legible.
This looks like you are using terminals that do not support truecolor (xcfe4-terminal and built-in macos terminal before Sequoia). Opentui and therefor opencode does currently not support non-truecolor terminals. This will come, but might be a while. In the mean time I can only suggest you use a terminal that supports truecolor like Ghostty, Kitty, Alacritty, iTerm2 etc.
@kommander I'm using Ghostty 1.2.3 with the Alabaster theme and macOS Sequoia 15.7.1, but I still can't see diffs for some files. I've tried changing Ghostty and opencode themes, but the result is still the same.
I have no problem with .md files, but diffs for .sql, .sh, .dbml are invisible. Maybe there is the same issue with different files, but I didn't check that.
Also, I can't see the title in the "Rename session" dialog.
This looks like you are using terminals that do not support truecolor (xcfe4-terminal and built-in macos terminal before Sequoia). Opentui and therefor opencode does currently not support non-truecolor terminals. This will come, but might be a while. In the mean time I can only suggest you use a terminal that supports truecolor like Ghostty, Kitty, Alacritty, iTerm2 etc.
Hi, I tried, with Alacritty, but no luck,
this is the GitHub theme, running opencode 1.0.134.
Did you try running bunx opencode-ai@snapshot-kmdr-debug?
I'm testing bunx opencode-ai@snapshot-kmdr-debug
OS: macOS Tahoe 26.0.1
Host: MacBook Air M1, 2020
Shell: zsh 5.9
Terminal: ghostty 1.2.3
COLORTERM: truecolor (tested with echo $COLORTERM)
Using the OpenCode theme here
The tested file has no extension (bash script)
It was reproduced
I changed the dark/light by "toggle appearance"
I asked them to cat the file in plan mode.
Also, I see a similar issue with "no matching items"
@kommander I've tried your snapshot, but the result is still the same. It works on write, but it's unreadable on edit. Here are screenshots from opencode-ai@snapshot-kmdr-debug
Activity
github-actions commentedon Nov 30, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
akronb commentedon Dec 1, 2025
Got the same problem. Using opencode v1.0.125, Ghostty 1.2.3, macOS Sequoia 15.7.1
awwright commentedon Dec 3, 2025
I think this is the same problem that I'm having, except I can't see anything at all, my install is mostly unusable.
This is 1.0.127; switching between "light mode" and "dark mode" in the menu doesn't do anything.
If I switch the whole system to light mode, it is still extremely low contrast:
rekram1-node commentedon Dec 3, 2025
What terminal and theme are you using?
nesl247 commentedon Dec 3, 2025
In my case I'm using catppuccin latte for both iterm2 and opencode.
awwright commentedon Dec 3, 2025
@rekram1-node Just the "System" theme, but no theme is readable. This is the "solarized" theme:
kommander commentedon Dec 5, 2025
This looks like you are using terminals that do not support truecolor (xcfe4-terminal and built-in macos terminal before Sequoia). Opentui and therefor opencode does currently not support non-truecolor terminals. This will come, but might be a while. In the mean time I can only suggest you use a terminal that supports truecolor like Ghostty, Kitty, Alacritty, iTerm2 etc.
akronb commentedon Dec 5, 2025
@kommander I'm using Ghostty 1.2.3 with the Alabaster theme and macOS Sequoia 15.7.1, but I still can't see diffs for some files. I've tried changing Ghostty and opencode themes, but the result is still the same.
I have no problem with .md files, but diffs for .sql, .sh, .dbml are invisible. Maybe there is the same issue with different files, but I didn't check that.
Also, I can't see the title in the "Rename session" dialog.
kommander commentedon Dec 5, 2025
This is so weird, in ghostty it works fine for me for anything that does not have a parser like .vim files.
Can you try with
bunx opencode-ai@snapshot-kmdr-debug?gabrielmontagne commentedon Dec 6, 2025
Hi, I tried, with Alacritty, but no luck,
this is the GitHub theme, running opencode 1.0.134.
kommander commentedon Dec 6, 2025
Did you try running
bunx opencode-ai@snapshot-kmdr-debug?koichiio commentedon Dec 6, 2025
I'm testing
bunx opencode-ai@snapshot-kmdr-debugOS: macOS Tahoe 26.0.1
Host: MacBook Air M1, 2020
Shell: zsh 5.9
Terminal: ghostty 1.2.3
COLORTERM: truecolor (tested with
echo $COLORTERM)Using the OpenCode theme here
The tested file has no extension (bash script)
It was reproduced
I changed the dark/light by "toggle appearance"
I asked them to cat the file in plan mode.
Also, I see a similar issue with "no matching items"

akronb commentedon Dec 6, 2025
@kommander I've tried your snapshot, but the result is still the same. It works on write, but it's unreadable on edit. Here are screenshots from opencode-ai@snapshot-kmdr-debug
kommander commentedon Dec 8, 2025
Could you please try again with
bunx opencode-ai@snapshot-kmdr-debug? Trying a different fix now.koichiio commentedon Dec 8, 2025
@kommander
It's working!!!!!
Although, "no matching files" issue persists
akronb commentedon Dec 8, 2025
@kommander Yeah, this has resolved my problem with diffs, thanks!
But I still get unreadable parts of interface, like "No matching items" or "Rename session" dialog.
kommander commentedon Dec 8, 2025
Okay, I'll check the other issues as well and bring that in the next official release.
kommander commentedon Dec 9, 2025
This should be better in
1.0.137?akronb commentedon Dec 9, 2025
@kommander All good on my side, thanks!
gabrielmontagne commentedon Dec 9, 2025
It's working great for me too, even on my non-truecolor terms.
Thanks so much!