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
Reacted by John Mutuma, Jordan Fjellman, qw457812, seaweeduk, Amos Ng, Axel H., Lars, U Cirello, Nicolas K., Enric Tordera and 16 more
Reacted by Cristian Gamez Infantes, Shawn Yeager, U Cirello, cwegener, Gregory M. Kapfhammer, Luco Bellic, Ole Bläsing, M. Adel Alhashemi, Joshua Bell, Daniel Leal and 9 more
Not sure if this is related, but after upgrading to 1.0, my custom theme I had defined no longer shows up in the selectable themes either. I don't see any errors like I used to if the theme wasn't available. So it seems like it knows about the file but can't use it. Did theming change with the upgrade?
For me it worked with tmux 3.6 on the 1.0.119 and then with the 1.0.120, the system theme disappeared again (I tried all versions from 1.0.122 to 1.0.119, system theme is only available in 1.0.119 on tmux 3.6).
Between both, OpenTUI has been upgraded from 0.1.50 to 0.1.51 and contains anomalyco/opentui#354 which seem to be the cause (I did not had time to try reverting the commit to confirm).
Yeah man I hate that it is removed, system for sure should get transparent background, I tried to fix it with #4879 plus add hot reloading (I hate having to restart opencode every time my dynamic theme changes) but not sure if it ever going to be merged
Transparent background with system theme was working with 1.0.119 and tmux 3.6.
My hypothesis is that OSC4 palette request was working fine with tmux 3.6 but the escaping added in OpenTUI if for tmux 3.5 and doesn't work with with 3.6 because it has now native support for it.
I have submited a fix to submit to OpenTUI and I get system theme back in tmux 3.6: anomalyco/opentui#373
Should add here aswell but Zellij has an odd behavior on OSC0 and OSC1, clearing the zellij cache works but might be an incovenience for anyone using plugins. Just reporting to put under the radar
I'm using opencode within the IntelliJ IDEA terminal, but the system doesn't show up.
This terminal supports true color, but does export COLORTERM, but even forcing it. Opencode just doesn't reveal the system theme.
After exploring the topic, it seems that opencode is using OSC 4, 10 and 11 to read colors from the emulator. And it happens that the IntelliJ terminal do not support OSC 4 (as of 2026.2.1).
There's by the way a PR on the old JediTerm for that JetBrains/jediterm#327, but given the folk at Jetbrains are migrating toward the reworked terminal that use a different rendering engine, a different PR should be done.
Activity
paradise-runner commentedon Nov 1, 2025
Also getting this issue, seeing some crazy rapid development so expect this to be fixed soon!
thdxr commentedon Nov 1, 2025
we're working on it this week
ahokinson commentedon Nov 4, 2025
Not sure if this is related, but after upgrading to 1.0, my custom theme I had defined no longer shows up in the selectable themes either. I don't see any errors like I used to if the theme wasn't available. So it seems like it knows about the file but can't use it. Did theming change with the upgrade?
https://github.com/ahokinson/dotfiles/blob/develop/common/opencode/themes/catppuccin-frappe.json
ssoteloserrano commentedon Nov 6, 2025
Same problem with my custom theme not being available after update to 1.0.34
spacetime-labs commentedon Nov 6, 2025
Same here at version: 1.0.36
thdxr commentedon Nov 6, 2025
custom themes aren't loaded yet - will get to it tomorrow
thdxr commentedon Nov 6, 2025
SYSTEM THEME DONE
cwegener commentedon Nov 6, 2025
Just upgraded .. am I doing something wrong. I can't see it show up in the list.
19 remaining items
rekram1-node commentedon Nov 26, 2025
@danmondra we are waiting for the next tmux release and it will be fixed. The fix was already merged in but they didn't release it yet
offlinehacker commentedon Nov 28, 2025
Can confirm it's working with tmux 3.6 from homebrew 🚀
When you change from dark/bright mode you still need to detach/attach to tmux session and restart opencode, but that's minor inconvenience.
noirbizarre commentedon Nov 30, 2025
For me it worked with tmux 3.6 on the 1.0.119 and then with the 1.0.120, the system theme disappeared again (I tried all versions from 1.0.122 to 1.0.119, system theme is only available in 1.0.119 on tmux 3.6).
Between both, OpenTUI has been upgraded from 0.1.50 to 0.1.51 and contains anomalyco/opentui#354 which seem to be the cause (I did not had time to try reverting the commit to confirm).
rekram1-node commentedon Nov 30, 2025
^^ btw @kommander
kommander commentedon Nov 30, 2025
That's odd, that change seems to have fixed it for others. Maybe that worked for 3.5 but not 3.6 anymore. I'll check.
seaweeduk commentedon Nov 30, 2025
I dont use tmux but background transparency in the system theme hasn't worked since this was reverted, is it still on the radar?
ab07229
malhashemi commentedon Nov 30, 2025
Yeah man I hate that it is removed, system for sure should get transparent background, I tried to fix it with #4879 plus add hot reloading (I hate having to restart opencode every time my dynamic theme changes) but not sure if it ever going to be merged
noirbizarre commentedon Dec 1, 2025
Transparent background with system theme was working with 1.0.119 and tmux 3.6.
My hypothesis is that OSC4 palette request was working fine with tmux 3.6 but the escaping added in OpenTUI if for tmux 3.5 and doesn't work with with 3.6 because it has now native support for it.
I have submited a fix to submit to OpenTUI and I get
systemtheme back in tmux 3.6: anomalyco/opentui#373fix(OSC4): tmux 3.6 has native support for OSC4 and should not be wra…
arthur404dev commentedon Dec 3, 2025
Should add here aswell but Zellij has an odd behavior on OSC0 and OSC1, clearing the zellij cache works but might be an incovenience for anyone using plugins. Just reporting to put under the radar
john-persson-polestar commentedon Jan 7, 2026
Thanks to the comments above I was able to get the
systemtheme back by updating tmux fromnext-3.6tonext-3.7.Any update on background transparency?
fix(OSC4): tmux 3.6 has native support for OSC4 and should not be wra…
bric3 commentedon Sep 1, 2026
I'm using opencode within the IntelliJ IDEA terminal, but the system doesn't show up.
This terminal supports true color, but does export
COLORTERM, but even forcing it. Opencode just doesn't reveal thesystemtheme.After exploring the topic, it seems that
opencodeis using OSC 4, 10 and 11 to read colors from the emulator. And it happens that the IntelliJ terminal do not support OSC 4 (as of 2026.2.1).https://youtrack.jetbrains.com/issue/IJPL-254468/Support-for-Terminal-OSC-4
There's by the way a PR on the old JediTerm for that JetBrains/jediterm#327, but given the folk at Jetbrains are migrating toward the reworked terminal that use a different rendering engine, a different PR should be done.