bat/src
Mitchell Kember f59d00d4c7 Fix base16, and combine 00 and 0f alpha encodings
This changes the base16 theme back from #RRGGBB0f to #RRGGBB00,
reverting part of #934. That PR used the 0f encoding to produce ANSI
escape sequences 30-37 and 40-47 rather than 38;5 and 48;5 which require
256-color support. Unfortunately, it resulted in base16 using the wrong
colors becuase ansi_term does not support the bright variants (90-97 and
100-107) so it simply mapped them to the non-bright colors.

This PR makes combines the 00 and 0f alpha encodings into 00, and makes
them use the Color enum for the first 8 colors and Fixed otherwise. This
means the ansi-light and ansi-dark themes will work on terminals without
256-color support, and base16 will render bright colors correctly.
2020-05-11 19:29:19 +02:00
..
bin/bat Write error messages to pager, if attached 2020-04-25 13:08:00 +02:00
assets.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
assets_metadata.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
config.rs Skip non-file inputs when using --diff 2020-04-24 16:12:38 +02:00
controller.rs Write error messages to pager, if attached 2020-04-25 13:08:00 +02:00
decorations.rs Reduce public API 2020-04-22 23:55:28 +02:00
diff.rs Move git changes support behind a feature 2020-03-31 09:27:56 +02:00
error.rs Write error messages to pager, if attached 2020-04-25 13:08:00 +02:00
input.rs Add *_with_name methods 2020-04-22 23:55:28 +02:00
less.rs Move paging support behind a feature 2020-03-31 09:27:56 +02:00
lib.rs Update documentation 2020-04-22 23:55:28 +02:00
line_range.rs Fix some clippy lints 2020-04-24 16:11:05 +02:00
output.rs Write error messages to pager, if attached 2020-04-25 13:08:00 +02:00
paging.rs Move PagingMode to separate module 2020-04-22 23:55:28 +02:00
preprocessor.rs Run 'cargo fmt' 2020-04-24 16:11:05 +02:00
pretty_printer.rs Implementation of 'bat --diff' 2020-04-24 09:57:57 +02:00
printer.rs Add annotations again 2020-04-24 16:51:11 +02:00
style.rs Rename error module 2020-04-22 23:55:28 +02:00
syntax_mapping.rs cargo fmt 2020-04-23 00:56:35 +02:00
terminal.rs Fix base16, and combine 00 and 0f alpha encodings 2020-05-11 19:29:19 +02:00
wrapping.rs Rename wrap => wrapping 2020-04-22 23:55:28 +02:00