mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Merge pull request #5034 from beetbox/YES_NO_COLOR
This commit is contained in:
commit
bf6eb04827
2 changed files with 2 additions and 2 deletions
|
|
@ -591,7 +591,7 @@ def colorize(color_name, text):
|
|||
"""Colorize text if colored output is enabled. (Like _colorize but
|
||||
conditional.)
|
||||
"""
|
||||
if config["ui"]["color"]:
|
||||
if config["ui"]["color"] and "NO_COLOR" not in os.environ:
|
||||
global COLORS
|
||||
if not COLORS:
|
||||
# Read all color configurations and set global variable COLORS.
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Major new features:
|
|||
|
||||
* The beets importer UI received a major overhaul. Several new configuration
|
||||
options are available for customizing layout and colors: :ref:`ui_options`.
|
||||
:bug:`3721`
|
||||
:bug:`3721` :bug:`5028`
|
||||
|
||||
New features:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue