Document the usage of bright colours and Solarized

See #745 and #611
pull/748/head
Wilfred Hughes 2024-07-30 14:56:25 +07:00
parent 42f69025d3
commit 5ad8b1bb31
1 changed files with 9 additions and 0 deletions

@ -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