Skip to content

[FEATURE]: Replace tui.diff_style with KV backed storage #10711

@ariane-emory

Description

@ariane-emory

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When I originally added the tui.diff_style setting a few months back, I was not yet familiar enough with the project to have been aware of the kv.json file. I have by now realized that KV storage would indeed be a more apt way to store the user's preferred diffStyle, since it allows for easier dynamic toggling and a cleaner configuration file.

Verdict: the diff_style property ought be moved to kv.json, and menu items in the command_list provided to toggle its value while Opencode is live.

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions