summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorRonan Jouchet <ronan@jouchet.fr>2019-12-04 14:31:10 -0500
committerGitHub <noreply@github.com>2019-12-04 14:31:10 -0500
commit01868010f265c0e0fa72dd9d0f9599f096e9060a (patch)
treef0ce4c8d3f134693f2c261a41d84606e32645473 /README.md
parent27fa1626ae4ceb2de4432a0fba546d964bc051de (diff)
README: Document env. var to fix mouse scrolling (fix #58)
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index 84b15fe5..dfa192d4 100644
--- a/README.md
+++ b/README.md
@@ -107,6 +107,11 @@ and you may then need to quit tmux completely for it to take effect.
<br>
+## Mouse scrolling
+
+If mouse scrolling is broken, try setting your `BAT_PAGER` environment variable to (at least) `less -R` .
+See [issue #58](https://github.com/dandavison/delta/issues/58) and [bat README / "Using a different pager"](https://github.com/sharkdp/bat#using-a-different-pager).
+
## Options
Here's the output of `delta --help`. To use these options, add them to the delta command line in your `.gitconfig` file.