Skip to content

Commit

Permalink
Document the usage of bright colours and Solarized
Browse files Browse the repository at this point in the history
See #745 and #611
  • Loading branch information
Wilfred committed Jul 30, 2024
1 parent 42f6902 commit 5ad8b1b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,15 @@ $ difft --check-only --exit-code before.js after.js
This will set the exit code to 0 if there are no syntactic changes, or
1 if there are changes found.

### Why aren't colours appearing in my terminal?

Difftastic uses ANSI bright colours by default, but some terminal
themes show bright colours as grey. Solarized is a popular theme that
does this.

If you're a Solarized user, use `export DFT_BACKGROUND=light` to
disable bright colours, or try a different terminal colour scheme.

### How does it work?

Difftastic treats structural diffing as a graph problem, and uses
Expand Down

0 comments on commit 5ad8b1b

Please sign in to comment.