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)
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:
Use Cases
Related
Related to ALL-4821 (Display code diff for file editor action inside collapsible)