Versions in this module Expand all Collapse all v0 v0.2.0 Jul 14, 2026 v0.1.0 Jun 22, 2026 Changes in this version + type DiffView struct + func New() *DiffView + func (dv *DiffView) After(path, content string) *DiffView + func (dv *DiffView) Before(path, content string) *DiffView + func (dv *DiffView) ChromaStyle(style *chroma.Style) *DiffView + func (dv *DiffView) ContextLines(contextLines int) *DiffView + func (dv *DiffView) FileName(name string) *DiffView + func (dv *DiffView) Height(height int) *DiffView + func (dv *DiffView) InfiniteYScroll(infiniteYScroll bool) *DiffView + func (dv *DiffView) LineNumbers(lineNumbers bool) *DiffView + func (dv *DiffView) Split() *DiffView + func (dv *DiffView) String() string + func (dv *DiffView) Style(style Style) *DiffView + func (dv *DiffView) TabWidth(tabWidth int) *DiffView + func (dv *DiffView) Unified() *DiffView + func (dv *DiffView) Width(width int) *DiffView + func (dv *DiffView) XOffset(xOffset int) *DiffView + func (dv *DiffView) YOffset(yOffset int) *DiffView + type LineStyle struct + Code lipgloss.Style + LineNumber lipgloss.Style + Symbol lipgloss.Style + type Style struct + DeleteLine LineStyle + DividerLine LineStyle + EqualLine LineStyle + Filename LineStyle + InsertLine LineStyle + MissingLine LineStyle + func DefaultDarkStyle() Style + func DefaultLightStyle() Style