From 43e0f7f429d32f4729c435eabf9014e6f6430a0a Mon Sep 17 00:00:00 2001 From: rascul Date: Wed, 14 Jan 2026 22:53:41 -0600 Subject: [PATCH] remove extra bits from the ansi codes, they are not needed and do more than what is expected --- src/lib.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 560294e..4575944 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -47,14 +47,14 @@ impl Color { "" } else { match self { - Self::Black => "\x1b[0;30m", - Self::Red => "\x1b[0;31m", - Self::Green => "\x1b[0;32m", - Self::Yellow => "\x1b[0;33m", - Self::Blue => "\x1b[0;34m", - Self::Purple => "\x1b[0;35m", - Self::Cyan => "\x1b[0;36m", - Self::White => "\x1b[0;37m", + Self::Black => "\x1b[30m", + Self::Red => "\x1b[31m", + Self::Green => "\x1b[32m", + Self::Yellow => "\x1b[33m", + Self::Blue => "\x1b[34m", + Self::Purple => "\x1b[35m", + Self::Cyan => "\x1b[36m", + Self::White => "\x1b[37m", Self::BgBlack => "\x1b[40m", Self::BgRed => "\x1b[0;41m", Self::BgGreen => "\x1b[42m",