opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Emacs vterm should default to system theme

Open paralin opened this issue 5 months ago • 4 comments

Image

@adamdotdevin here is how it looks in emacs vterm now. much better, there are still some stray blue underscore characters though.

Image

Forked from #101

paralin avatar Jun 26 '25 21:06 paralin

@paralin does it just work for you by default? This is how it looks for me in vterm (Emacs 30.1). Also, does scrolling work for you?

Image Image

unholywhale avatar Jul 06 '25 07:07 unholywhale

Looks good now with "system" theme

paralin avatar Jul 06 '25 21:07 paralin

Fixed by setting the "system" theme:

Write to ~/.config/opencode/opencode.jsonc

{
  "$schema": "https://opencode.ai/config.json",
  "theme": "system"
}

I would recommend automatically defaulting to this if vterm is detected

paralin avatar Oct 09 '25 18:10 paralin

On doom emacs, I am not able to scroll to the previous page when using open code via libvterm. Any suggestions?

prasanthkrishnan avatar Nov 04 '25 18:11 prasanthkrishnan