Skip to content

Confusing colouration of working directory in sidebar. #5184

@ariane-emory

Description

@ariane-emory

Description

In the sidebar, modified files and the working directory are displayed in the same colour. As a result, it isn't readily apparent clear that that last item (starting with /Volumes in my screenshot) is the current working directory and not a modified file.

You can puzzle it out once you think it through and notice the absence of the +/- part on the right, but figuring that out definitely slowed me down needlessly for several seconds.

This would be more obvious if the working directory and the modified files used different text colours.

OpenCode version

1.0.134

Steps to reproduce

  1. Enable the sidebar.
  2. Cause some files to be modified.
  3. Scroll the sidebar to a position such that the last modified file and the working directory are on adjacent lines.
  4. Observe that the last of the modified files and the working directory use the same text colour, making it hard to distinguish one from the other.

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions