From 5c953ecf80dd3b786c0c9990d933eaa99433cccb Mon Sep 17 00:00:00 2001 From: Florent Date: Sun, 2 Nov 2025 19:47:29 +0100 Subject: [PATCH] 1 char gained on log_chan --- src/meshcore_cli/meshcore_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index ac33bf3..677b20b 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -224,7 +224,7 @@ async def handle_log_rx(event): cipher = AES.new(aes_key, AES.MODE_ECB) message = cipher.decrypt(msg)[5:].decode("utf-8").strip("\x00") - print_above(f"{ANSI_LIGHT_GRAY}{chan_name:>10} {ANSI_GREEN}{message[0:25]:25} {ANSI_LIGHT_GRAY}({event.payload['snr']:7,.2f},{event.payload['rssi']:4}){ANSI_YELLOW} [{path}]{ANSI_END}") + print_above(f"{ANSI_LIGHT_GRAY}{chan_name:>10} {ANSI_GREEN}{message[0:25]:25} {ANSI_LIGHT_GRAY}({event.payload['snr']:6,.2f},{event.payload['rssi']:4}){ANSI_YELLOW} [{path}]{ANSI_END}") handle_log_rx.json_log_rx = False handle_log_rx.log_channels = False