Skip to content

Commit 2474231

Browse files
committed
more compact traces
1 parent efcec63 commit 2474231

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/meshcore_cli/meshcore_cli.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,12 +2337,11 @@ async def next_cmd(mc, cmds, json_output=False):
23372337
else :
23382338
color = process_event_message.color
23392339
classic = interactive_loop.classic or not color
2340-
print("]",end="")
23412340
for t in ev.payload["path"]:
23422341
if classic :
23432342
print("→",end="")
23442343
else:
2345-
print(f" {ANSI_INVERT}", end="")
2344+
print(f"{ANSI_INVERT}", end="")
23462345
snr = t['snr']
23472346
if color:
23482347
if snr >= 10 :
@@ -2355,13 +2354,13 @@ async def next_cmd(mc, cmds, json_output=False):
23552354
if classic :
23562355
print("→",end="")
23572356
else :
2358-
print(f"{ANSI_NORMAL}{ARROW_HEAD} ",end="")
2357+
print(f"{ANSI_NORMAL}{ARROW_HEAD}",end="")
23592358
if color:
23602359
print(ANSI_END, end="")
23612360
if "hash" in t:
23622361
print(f"[{t['hash']}]",end="")
23632362
else:
2364-
print("[")
2363+
print()
23652364

23662365
case "login" | "l" :
23672366
argnum = 2

0 commit comments

Comments
 (0)