summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-11-03 14:17:49 -0500
committerDan Davison <dandavison7@gmail.com>2020-11-03 14:23:14 -0500
commitde050ba4a41e651aae1d776a57570dd3e5adec40 (patch)
tree3c71d84277d9fe67270b402d98f8d5003dd3bd11
parent301ee57fea0a8e059f8ed28a3d49e681b9b66620 (diff)
Add instructions regarding less to the README
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index a214a7c0..4d899a16 100644
--- a/README.md
+++ b/README.md
@@ -257,6 +257,8 @@ Alternatively, delta is available in the following package managers:
</tr>
</table>
+Behind the scenes, delta uses `less` for paging. The version of `less` that comes with your operating system may be too old (currently, less v551 is a good choice). On MacOS, install `less` from Homebrew. For Windows, see [Using Delta on Windows](#using-delta-on-windows).
+
## Configuration
Set delta to be git's pager in your `.gitconfig`. Delta has many options to alter colors and other details of the output. An example is
@@ -436,7 +438,7 @@ and you may then need to quit tmux completely for it to take effect.
### Using Delta on Windows
-Delta works on Windows. However, the `less.exe` installed with git has some bugs: you will see incorrect colors and other problems. A patched version of `less.exe` and instructions for installing can be found [here](https://github.com/lzybkr/less/releases/tag/fix_windows_vt).
+Delta works on Windows. If you see incorrect colors and/or strange characters in Delta output, it is probably because there is an old version of `less.exe` on your system. On Windows, Git ships with its own version of `less.exe` for this reason, however there are still some bugs that affect delta. A patched version of `less.exe` and instructions for installing can be found [here](https://github.com/lzybkr/less/releases/tag/fix_windows_vt).
### Mouse scrolling