Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the default macOS theme depend on Dark Mode #2197

Merged
merged 3 commits into from
May 24, 2022

Commits on May 21, 2022

  1. 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.
    Enselic committed May 21, 2022
    Configuration menu
    Copy the full SHA
    ddb93fe View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. src/assets.rs: Fix typo

    Enselic committed May 24, 2022
    Configuration menu
    Copy the full SHA
    317df13 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    Enselic committed May 24, 2022
    Configuration menu
    Copy the full SHA
    f2648b5 View commit details
    Browse the repository at this point in the history