5959ANSI_LIGHT_YELLOW = "\033 [0;93m"
6060ANSI_LIGHT_GRAY = "\033 [0;38;5;247m"
6161ANSI_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
6565def 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