From 6b1c4035a9339b8dcff6e8d7d0526d65cbb53e8b Mon Sep 17 00:00:00 2001 From: Florent Date: Thu, 10 Jul 2025 11:36:01 +0200 Subject: [PATCH] colors ... --- src/meshcore_cli/meshcore_cli.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index 4b8a008..18c65f8 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -46,8 +46,6 @@ ANSI_GREEN = "\033[0;32m" ANSI_BGREEN = "\033[1;32m" ANSI_BLUE = "\033[0;34m" ANSI_BBLUE = "\033[1;34m" -ANSI_YELLOW = "\033[0;33m" -ANSI_BYELLOW = "\033[1;33m" ANSI_RED = "\033[0;31m" ANSI_BRED = "\033[1;31m" ANSI_MAGENTA = "\033[0;35m" @@ -61,6 +59,10 @@ ANSI_LIGHT_GRAY="\033[0;38;5;247m" ANSI_BGRAY="\033[1;38;5;247m" ANSI_ORANGE="\033[0;38;5;214m" ANSI_BORANGE="\033[1;38;5;214m" +#ANSI_YELLOW="\033[0;38;5;226m" +#ANSI_BYELLOW="\033[1;38;5;226m" +ANSI_YELLOW = "\033[0;33m" +ANSI_BYELLOW = "\033[1;33m" def escape_ansi(line): ansi_escape = re.compile(r'(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]')