mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
colors ...
This commit is contained in:
parent
0600fce901
commit
6b1c4035a9
1 changed files with 4 additions and 2 deletions
|
|
@ -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-?]*[ -/]*[@-~]')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue