opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Weird unexplained unattractive highlighting of the word 'working'?

Open ariane-emory opened this issue 1 month ago • 0 comments

Description

I'm kind of torn on whether this is a bug report or a question... I definitely have a question, and I suppose that whether what I'm seeing is a bug or not will depend on what the answer to the question is.

For some inexplicable reason, opencode seems to highlight the word 'working'.

  1. Is this intentional, is it supposed to do this?
  2. If it is intentional, what is the rationale for doing this strange thing? Look at the screenshot - don't you think it looks kind of rough? It doesn't seem useful and I don't think it looks pretty, especially when it happens half ways through a word such as it does in working-directory.ts in the attached screenshot.

Hopefully someone has an idea why this strange behaviour is occurring. If no one has any idea why this is happening, I guess I'll consider it a bug and try to come up with a PR to fix it.

Looking forwards to hearing the answer!

OpenCode version

1.0.126

Steps to reproduce

  1. Do something to cause the word working to appear in your session, for instance by asking about "How is the working directory determined?" or whatnot.
  2. Observe that the word working is inexplicably highlighted.

Screenshot and/or share link

Image

Operating System

MacOS Sequia latest

Terminal

iTerm2

ariane-emory avatar Dec 02 '25 09:12 ariane-emory