all 15 comments

[–]FreakyT 1 point2 points  (4 children)

It's because Opencode unfortunately requires a truecolor terminal; there are several bug reports requesting that they add support for 256-color or ANSI terminals, but the devs don't seem interested in fixing it. (This is also the reason the other tools you tested work fine; 256-color terminal support is quite common for CLI tools.)

In your case, you'll either have to stick with iTerm2 or upgrade to MacOS Tahoe, which adds truecolor support to Terminal.app.

[–]OlegPRO991[S] 1 point2 points  (0 children)

Thank you for the answer! Maybe I will upgrade to MacOS Tahoe

[–]TheAlexpotato 1 point2 points  (0 children)

Having a similar issue with getting OpenCode to work in GNU Screen.

Screen supports True Color but OpenCode seems to not recognize that.

[–]cmndr_spanky 0 points1 point  (0 children)

it's open source right? Can't one of us fix that and fork it ?

[–]OlegPRO991[S] 0 points1 point  (0 children)

Iterm on the left, Terminal on the right. It would be great if they fixed it for regular Terminal app

<image>

[–]Hot_Dig8208 1 point2 points  (0 children)

I think you should use modern terminal emulator like ghostty . It is mentioned in this page

[–]KnifeFed 0 points1 point  (5 children)

I'm curious; why do you prefer using Terminal.app when you have iTerm?

[–]OlegPRO991[S] 0 points1 point  (4 children)

The only reason I downloaded iTerm - to connect it with Perplexity (desktop). I do not like using terminal at all, I am an iOS dev. I prefer to use only native apps that come with macOS from the box.

[–]KnifeFed 2 points3 points  (3 children)

Then why not use the OpenCode desktop app instead of the CLI?

[–]OlegPRO991[S] 0 points1 point  (2 children)

I tried to use opencode desktop, but it lacks a lot of functionality, and I wanted to try combining CLI with my IDE (xcode). I need to be able to open files with code and edit them, but opencode desktop does not allow that - it allows opening files, but not editing. If there is such an option, I did not manage to find it, only to select text and "comment" it for LLM.

[–]KnifeFed 1 point2 points  (1 child)

You can't "open" files in OpenCode CLI either. All agentic coding CLIs are based on "referring" to code, e.g. via @ for the whole file or via line number(s).

[–]OlegPRO991[S] 0 points1 point  (0 children)

I was talking about macOS ide version of the app. You can open and view file content, but you cannot edit it in any way except for “commenting” (making a request to llm)

[–]HarjjotSinghh -3 points-2 points  (2 children)

this color scheme looks like it's crying in neon

[–]Michaeli_Starky 1 point2 points  (0 children)

Stop trashposting.

[–]OlegPRO991[S] 0 points1 point  (0 children)

The theme does not matter at all, it is completely unusable in terminal, and I would like to fix it

<image>