mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 00:38:52 +01: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 |
||
---|---|---|
.. | ||
benchmarks | ||
examples | ||
mocked-pagers | ||
scripts | ||
snapshots | ||
syntax-tests | ||
utils | ||
.gitattributes | ||
assets.rs | ||
integration_tests.rs | ||
no_duplicate_extensions.rs | ||
snapshot_tests.rs | ||
tester.rs |