bat/src
Allen Wild 91a347bf6d Fix less version parsing for minor versions of less
Less 581.2 is here, and it has a ".2" in the version string, which can't
be parsed as a usize.

Update the check to find a non-digit character rather than a space. This
ignores the minor version, but parses the major version correctly.
2021-05-12 11:47:16 +02:00
..
bin/bat Include LESS in --diagnostic 2021-03-17 21:10:16 +01:00
assets.rs Add SystemVerilog support 2021-03-15 07:21:15 +01:00
assets_metadata.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
config.rs Use less binary specified in bat config for --diagnostic 2021-02-16 09:11:27 +01:00
controller.rs Change circle detection to use new more conservative method and run in main loop instead of before the loop 2021-02-28 23:04:49 +01:00
decorations.rs Reduce public API 2020-04-22 23:55:28 +02:00
diff.rs Improve readability 2021-03-07 14:59:10 +01:00
error.rs Throws an error when `bat` is being user as pager. 2020-10-29 19:33:58 +01:00
input.rs 'mut self' => 'self', remove pub 2021-03-07 14:59:10 +01:00
less.rs Fix less version parsing for minor versions of less 2021-05-12 11:47:16 +02:00
lib.rs Merge remote-tracking branch 'origin/master' into fix-1063 2020-12-28 21:57:38 +01:00
line_range.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
macros.rs Introduce bat_warning! helper macro 2020-12-28 09:27:40 +01:00
output.rs Make less version check accept a path to the less binary 2021-02-16 09:11:27 +01:00
pager.rs get_pager(): Simplify use_less_instead expression 2021-01-11 21:56:10 +01:00
paging.rs Move PagingMode to separate module 2020-04-22 23:55:28 +02:00
preprocessor.rs replace_nonprintable: Keep \n around 2020-12-19 10:27:06 +01:00
pretty_printer.rs Improve readability 2021-03-07 14:59:10 +01:00
printer.rs Addressed PR feedback. Upped min version and used matches! macro 2021-01-09 15:21:26 +01:00
style.rs style: add component 'rule' for horizontal file delimiter 2020-10-12 09:04:27 +01:00
syntax_mapping.rs Fix broken resolv.conf highlighting 2021-02-16 22:15:31 +01:00
terminal.rs Add ansi theme to replace ansi-light and ansi-dark 2020-12-21 17:05:10 +01:00
wrapping.rs Addressed PR feedback. Upped min version and used matches! macro 2021-01-09 15:21:26 +01:00