When PAGER=most, don't print a warning to stderr, silently use less instead

This commit is contained in:
Martin Nordholts committed 2020-12-30 08:25:39 +01:00
1 parent 552545fe5f
commit 22bdc7c20f
3 files changed
+9 -8

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
- Make ./tests/syntax-tests/regression_test.sh work on recent versions of macOS, see #1443 (@Enselic)
- VimL syntax highlighting fix, see #1450 (@esensar)
- Print an 'Invalid syntax theme settings' error message if a custom theme is broken, see #614 (@Enselic)
- Ignore PAGER=most with a warning to stderr, but allow override with BAT_PAGER or --config, see #1063 (@Enselic)
- If `PAGER=most` (but not `BAT_PAGER` or `--pager`), silently use `less` instead since `most` does not support colors, see #1063 (@Enselic)
## Other