Skip to content

Feature Request: Add unified diff view + configurable default (and optional auto mode) #1815

Closed

Description

@nordrune

Hi :)

Please add a unified (inline) diff view. Split view is hard to read for me, especially with small changes and limited horizontal space (terminal/tiled splits, even on big monitors). In tools like Cloud Code, unified works much better for quick reviews. (IMO)

Proposal

Implement unified diff view alongside split.

Make the default diff view configurable in opencode.json.

Optional Auto mode: use unified for small diffs, switch to split when changes exceed a configurable threshold.

Why

Unified is more compact and easier to scan for small edits.

Split consumes too much horizontal space in my setup and slows me down.

Defaults

Consider unified as the default (subject to team validation), with easy toggle to Split/Auto.

Image Image Image

Activity

  1. benvinegar commented on Sep 2, 2025

    @benvinegar

    Adding a +1, opencode often looks like this for me – I almost always have to switch to my editor to see what's happening.

    Image
  2. rekram1-node commented on Sep 2, 2025

    @rekram1-node
    Collaborator

    Yeah I think once opentui migration is complete things like better diffs will be prioritized

  3. duguyue100 commented on Oct 17, 2025

    @duguyue100

    This would be very much needed, another user who cannot stand the split view here.

  4. jdanbrown commented on Nov 4, 2025

    @jdanbrown
    Contributor

    +1, here's what split diffs look like for me with 154 columns (using opencode 1.0.23). I find it too visually jumbled to make much sense of it at a glance.

    (Also, background highlights are missing in 1.0, tracked here: #3687)

    Image
  5. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 4, 2025
  6. collinpeters commented on Nov 25, 2025

    @collinpeters

    This is the screenshot on the homepage as of Nov 24, 2025 - it looks like it used to support this? The screenshot says v0.3.11

    Image

  7. rekram1-node commented on Nov 25, 2025

    @rekram1-node
    Collaborator

    Yeah we are working on better diffs in the new version

  8. added a commit that references this issue on Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

opentuiThis 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