You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bat/tests
Martin Nordholts 3339eee2dc
Make the default macOS theme depend on Dark Mode (#2197)
* 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
2 years ago
..
benchmarks Add new `--style` called `header-filesize` and display it by default (#1988) 2 years ago
examples Skip syntax highlighting for long lines (#2165) 2 years ago
mocked-pagers tests: Make mocked pagers work on Windows 3 years ago
scripts CICD: Add check for accidental inclusion of GPL:ed code 3 years ago
snapshots Add new `--style` called `header-filesize` and display it by default (#1988) 2 years ago
syntax-tests Make `INI` syntax register as handler of `.inf` files 2 years ago
utils tests: Move 'mocked pagers' utils to separate file 3 years ago
.gitattributes Modify Linguist overrides 3 years ago
assets.rs Add "Visual Studio Dark+" theme to vec of themes 3 years ago
integration_tests.rs Make the default macOS theme depend on Dark Mode (#2197) 2 years ago
no_duplicate_extensions.rs HighlightingAssets: Make .syntaxes() and syntax_for_file_name() failable 3 years ago
snapshot_tests.rs Use BatTester::default instead of BatTester::new 3 years ago
tester.rs Update dependencies; replace unmaintained (#1522) 3 years ago