Skip to content

Commit 0600fce

Browse files
committed
change some colors
1 parent 7bda359 commit 0600fce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/meshcore_cli/meshcore_cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
ANSI_LIGHT_YELLOW = "\033[0;93m"
6060
ANSI_LIGHT_GRAY="\033[0;38;5;247m"
6161
ANSI_BGRAY="\033[1;38;5;247m"
62-
ANSI_ORANGE="\033[0;38;5;208m"
63-
ANSI_BORANGE="\033[1;38;5;208m"
62+
ANSI_ORANGE="\033[0;38;5;214m"
63+
ANSI_BORANGE="\033[1;38;5;214m"
6464

6565
def escape_ansi(line):
6666
ansi_escape = re.compile(r'(?:\x1B[@-_]|[\x80-\x9F])[0-?]*[ -/]*[@-~]')
@@ -120,7 +120,7 @@ async def process_event_message(mc, ev, json_output, end="\n", above=False):
120120
if ct is None: # Unknown
121121
disp = f"{ANSI_RED}"
122122
elif ct["type"] == 4 : # sensor
123-
disp = f"{ANSI_ORANGE}"
123+
disp = f"{ANSI_YELLOW}"
124124
elif ct["type"] == 3 : # room
125125
disp = f"{ANSI_CYAN}"
126126
elif ct["type"] == 2 : # repeater
@@ -134,7 +134,7 @@ async def process_event_message(mc, ev, json_output, end="\n", above=False):
134134
disp = disp + f"/{ANSI_RED}{data['signature']}"
135135
else:
136136
disp = disp + f"/{ANSI_BLUE}{sender['adv_name']}"
137-
disp = disp + f" {ANSI_YELLOW}({path_str})"
137+
disp = disp + f" {ANSI_ORANGE}({path_str})"
138138
if data["txt_type"] == 1:
139139
disp = disp + f"{ANSI_LIGHT_GRAY}"
140140
else:
@@ -446,7 +446,7 @@ def _(event):
446446
if classic :
447447
prompt = prompt + "!"
448448
elif contact["type"] == 4 : # sensor
449-
prompt = prompt + f"{ANSI_BORANGE}"
449+
prompt = prompt + f"{ANSI_BYELLOW}"
450450
elif contact["type"] == 3 : # room server
451451
prompt = prompt + f"{ANSI_BCYAN}"
452452
elif contact["type"] == 2 :

0 commit comments

Comments
 (0)