Skip to content

[CLI]: Add rich diff viewer inside the TUI #308

@malhotra5

Description

@malhotra5

Description

Implement a rich diff viewer component for the Terminal User Interface (TUI) that provides a better visual experience when viewing code changes.

Expected Behavior

The TUI should include a rich diff viewer that:

  • Displays side-by-side or unified diff views
  • Uses syntax highlighting for code
  • Shows red highlighting for removed lines
  • Shows green highlighting for added lines
  • Supports scrolling through large diffs
  • Integrates well with the existing TUI components

Use Cases

  • Viewing file changes made by the agent
  • Reviewing code modifications before confirmation
  • Understanding what edits were applied to files

Related

Related to ALL-4821 (Display code diff for file editor action inside collapsible)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions