mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 12:23:19 +00:00
3339eee2dc
* Make the default macOS theme depend on Dark Mode We frequently get complaints from macOS users that bat does not work on their default macOS terminal background, which is white. Pay the price of slightly increased startup time to get a better default on macOS. To avoid the slightly increased startup time, simply specify a theme explicitly via `--theme`, `BAT_THEME`, or `~/.config/bat`. Note that if there is an error when we check if Dark Mode is enabled, we behave the same as on Windows and Linux; assume that the terminal background is dark. This harmonizes behavior across platforms, and makes bat behave the same as before, when Dark Mode was always assumed to be enabled. * src/assets.rs: Fix typo * Update CHANGELOG.md |
||
---|---|---|
.. | ||
assets | ||
bin/bat | ||
syntax_mapping | ||
assets.rs | ||
config.rs | ||
controller.rs | ||
decorations.rs | ||
diff.rs | ||
error.rs | ||
input.rs | ||
less.rs | ||
lib.rs | ||
line_range.rs | ||
macros.rs | ||
output.rs | ||
pager.rs | ||
paging.rs | ||
preprocessor.rs | ||
pretty_printer.rs | ||
printer.rs | ||
style.rs | ||
syntax_mapping.rs | ||
terminal.rs | ||
vscreen.rs | ||
wrapping.rs |