bento-diffs Integration
bento-diffs is the diff rendering engine used by DIFF mode.
Integration model
Section titled “Integration model”- Imported as a Go library.
- Parses unified diffs.
- Renders ANSI-aware diff output for terminal UX.
- Embedded viewer footer is hidden so glib can use a single global footer.
Implementation constraints
Section titled “Implementation constraints”- Preserve ANSI output end-to-end.
- Do not strip wrapper sequences required for styling.
- Keep navigation and chrome consistency inside glib shell.
Repository: github.com/cloudboy-jh/bento-diffs