From 5468fd648d74ea91eefc3880f8dc5c3cf0fd5919 Mon Sep 17 00:00:00 2001 From: Gerd Naschenweng Date: Fri, 8 Jan 2021 19:44:22 +0100 Subject: For Mac mouse-scrolling works by updating less (#490) * For Mac mouse-scrolling works by updating less * Update README.md Co-authored-by: Dan Davison * Update README.md Co-authored-by: Dan Davison Co-authored-by: Dan Davison --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dfd1191f..7c4fa8a9 100644 --- a/README.md +++ b/README.md @@ -483,8 +483,11 @@ Delta works on Windows. However, it is essential to use a recent version of `les ### Mouse scrolling -If mouse scrolling isn't working correctly, 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). +If mouse scrolling isn't working correctly, ensure that you have the most recent version of `less`. +* For Windows you can download from https://github.com/jftuga/less-Windows/releases/latest +* For Mac you can install `brew install less; brew link less` + +Alternatively try setting your `DELTA_PAGER` environment variable to (at least) `less -R`. See [issue #58](https://github.com/dandavison/delta/issues/58). See also [bat README / "Using a different pager"](https://github.com/sharkdp/bat#using-a-different-pager), since the `DELTA_PAGER` environment variable functions very similarly for delta. ### Using Delta with Magit -- cgit v1.2.3