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 }}
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
yeah, i'm overhauling all things color in #113 right now! let's see if i don't resolve these issues as part of this PR and circle back, hoping to land it very soon!
alright, unfortunately going to defer on this and not lump it into #113 as i need to land that PR asap (it's a pretty large diff). the reason for these styling issues is that we assume in opencode that your terminal supports true color; the built-in mac terminal app only supports ansi 256 color. the recommendation, for now, is to use a more full-featured terminal (i recommend ghostty, it's amazing).
we can leave this issue open until we're able to properly handle a graceful fallback to 256 color. lipgloss supports CompleteColor for defining better fallbacks, but that will only get us part of the way there. we also assume true color in the diff view, and that has some manual escape sequence munging, so we'll need to update that to handle these scenarios as well.
hey guys, i'm having the same problem and opened a pr with a fix. i believe its a good thing as many people should use default mac terminal on daily basis
Activity
deverman commentedon Apr 29, 2025
I have created a pull request to fix one part of this problem. There are still other areas were there is a problem that I have not been able to fix.
#118
adamdotdevin commentedon Apr 29, 2025
yeah, i'm overhauling all things color in #113 right now! let's see if i don't resolve these issues as part of this PR and circle back, hoping to land it very soon!
adamdotdevin commentedon Apr 29, 2025
alright, unfortunately going to defer on this and not lump it into #113 as i need to land that PR asap (it's a pretty large diff). the reason for these styling issues is that we assume in opencode that your terminal supports true color; the built-in mac terminal app only supports ansi 256 color. the recommendation, for now, is to use a more full-featured terminal (i recommend ghostty, it's amazing).
we can leave this issue open until we're able to properly handle a graceful fallback to 256 color. lipgloss supports
CompleteColorfor defining better fallbacks, but that will only get us part of the way there. we also assume true color in the diff view, and that has some manual escape sequence munging, so we'll need to update that to handle these scenarios as well.deverman commentedon Apr 30, 2025
Ok thanks for looking into this. I have installed Ghostty and everything looks great!
kujtimiihoxha commentedon May 1, 2025
@deverman I think I know what the issue is and moving to bubble tea v2 will fix.
prideofconcept commentedon Jun 15, 2025
Ran into this same issue, I wonder if we should update the readme to warn mac users?
brunoantonieto commentedon Jun 27, 2025
hey guys, i'm having the same problem and opened a pr with a fix. i believe its a good thing as many people should use default mac terminal on daily basis
jaytaylor commentedon Jul 16, 2025
I've also run into this with Mac Terminal, @brunoantonieto was your fix merged or is it still pending?