Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 deletions beets/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,13 @@ def input_select_objects(prompt, objs, rep, prompt_all=None):
"normal": 0,
"bold": 1,
"faint": 2,
# "italic": 3,
"italic": 3,
"underline": 4,
# "blink_slow": 5,
# "blink_rapid": 6,
"blink_slow": 5,
"blink_rapid": 6,
"inverse": 7,
# "conceal": 8,
# "crossed_out": 9
"conceal": 8,
"crossed_out": 9,
# Text colors.
"black": 30,
"red": 31,
Expand All @@ -488,6 +488,14 @@ def input_select_objects(prompt, objs, rep, prompt_all=None):
"magenta": 35,
"cyan": 36,
"white": 37,
"bright_black": 90,
"bright_red": 91,
"bright_green": 92,
"bright_yellow": 93,
"bright_blue": 94,
"bright_magenta": 95,
"bright_cyan": 96,
"bright_white": 97,
# Background colors.
"bg_black": 40,
"bg_red": 41,
Expand All @@ -497,6 +505,14 @@ def input_select_objects(prompt, objs, rep, prompt_all=None):
"bg_magenta": 45,
"bg_cyan": 46,
"bg_white": 47,
"bg_bright_black": 100,
"bg_bright_red": 101,
"bg_bright_green": 102,
"bg_bright_yellow": 103,
"bg_bright_blue": 104,
"bg_bright_magenta": 105,
"bg_bright_cyan": 106,
"bg_bright_white": 107,
}
RESET_COLOR = f"{COLOR_ESCAPE}[39;49;00m"
# Precompile common ANSI-escape regex patterns
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ Other changes:
unavailable, enabling ``importorskip`` usage in pytest setup.
- Finally removed gmusic plugin and all related code/docs as the Google Play
Music service was shut down in 2020.
- Updated color documentation with ``bright_*`` and ``bg_bright_*`` entries.

2.5.1 (October 14, 2025)
------------------------
Expand Down
12 changes: 9 additions & 3 deletions docs/reference/config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -467,14 +467,20 @@ Available attributes:

Foreground colors
``black``, ``red``, ``green``, ``yellow``, ``blue``, ``magenta``, ``cyan``,
``white``
``white``, ``bright_black``, ``bright_red``, ``bright_green``,
``bright_yellow``, ``bright_blue``, ``bright_magenta``, ``bright_cyan``,
``bright_white``

Background colors
``bg_black``, ``bg_red``, ``bg_green``, ``bg_yellow``, ``bg_blue``,
``bg_magenta``, ``bg_cyan``, ``bg_white``
``bg_magenta``, ``bg_cyan``, ``bg_white``, ``bg_bright_black``,
``bg_bright_red``, ``bg_bright_green``, ``bg_bright_yellow``,
``bg_bright_blue``, ``bg_bright_magenta``, ``bg_bright_cyan``,
``bg_bright_white``

Text styles
``normal``, ``bold``, ``faint``, ``underline``, ``reverse``
``normal``, ``bold``, ``faint``, ``italic``, ``underline``, ``blink_slow``,
``blink_rapid``, ``inverse``, ``conceal``, ``crossed_out``

terminal_width
~~~~~~~~~~~~~~
Expand Down
Loading