From 01868010f265c0e0fa72dd9d0f9599f096e9060a Mon Sep 17 00:00:00 2001 From: Ronan Jouchet Date: Wed, 4 Dec 2019 14:31:10 -0500 Subject: [PATCH] README: Document env. var to fix mouse scrolling (fix #58) --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 84b15fe51..dfa192d48 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.
+## 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.