[PATCH 0/3] color: add support for 12-bit RGB colors
- From
- Beat Bolli <bb@drbeat.li>
- Date
- Apr 29, 2024, 16:48 UTC
- Message-ID
- <20240429164849.78509-1-dev+git@drbeat.li>
* The color parsing code learned to handle 12-bit RGB colors.
The first commit fixes a typo, the second one adds some test coverage for invalid RGB colors, and the final one extends the RGB color parser to recognize 12-bit colors, as in #f0f.
Beat Bolli (3): t/t4026-color: remove an extra double quote character t/t4026-color: add test coverage for invalid RGB colors color: add support for 12-bit RGB colors
Documentation/config.txt | 3 ++- color.c | 21 ++++++++++++++------- color.h | 3 ++- t/t4026-color.sh | 18 +++++++++++++++--- 4 files changed, 33 insertions(+), 12 deletions(-)
-- 2.44.0