Pass '--mouse' to less versions >= 551

When using `less` version 551 or newer, `bat` will now pass the `--mouse` argument, allowing
for (better) mouse scrolling support in some terminals.

closes #904
This commit is contained in:
sharkdp authored and David Peter committed 2020-04-21 10:00:32 +02:00
1 parent 97ea3dd4dc
commit c386cb35fb
2 files changed
+15 -1

No files matched your search

+2
View File
@@ -6,6 +6,8 @@
in the header. This is useful when piping input into `bat`. See #654 and #892 (@neuronull).
- Added a new `--generate-config-file` option to creat an initial configuration file
at the right place. See #870 (@jmick414)
- When using `less` version 551 or newer, `bat` will now pass the `--mouse` argument, allowing
for (better) mouse scrolling support in some terminals, see #904
## Bugfixes