diff options
| author | adamdottv <[email protected]> | 2025-05-13 10:02:39 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-13 10:02:39 -0500 |
| commit | 2391e338b4e41726e7233e2bf027a62476140130 (patch) | |
| tree | e84cae9f97b8f94e13e800e96e529d6961caca8d /internal/diff/diff.go | |
| parent | 1e9399fbee0c99f09d3eb06d2e2ccc05f8871571 (diff) | |
| download | opencode-2391e338b4e41726e7233e2bf027a62476140130.tar.gz opencode-2391e338b4e41726e7233e2bf027a62476140130.zip | |
chore: rename
Diffstat (limited to 'internal/diff/diff.go')
| -rw-r--r-- | internal/diff/diff.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/diff/diff.go b/internal/diff/diff.go index 538960c53..350db664a 100644 --- a/internal/diff/diff.go +++ b/internal/diff/diff.go @@ -15,9 +15,9 @@ import ( "github.com/aymanbagabas/go-udiff" "github.com/charmbracelet/lipgloss" "github.com/charmbracelet/x/ansi" - "github.com/opencode-ai/opencode/internal/config" - "github.com/opencode-ai/opencode/internal/tui/theme" "github.com/sergi/go-diff/diffmatchpatch" + "github.com/sst/opencode/internal/config" + "github.com/sst/opencode/internal/tui/theme" ) // ------------------------------------------------------------------------- @@ -648,7 +648,7 @@ func applyHighlighting(content string, segments []Segment, segmentType LineType, r, g, b, _ = bgColor.RGBA() sb.WriteString(fmt.Sprintf("%d;%d;%dm", r>>8, g>>8, b>>8)) sb.WriteString(char) - + // Full reset of all attributes to ensure clean state sb.WriteString("\x1b[0m") |
