meshcore-cli 1.2.3__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/PKG-INFO +1 -1
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/pyproject.toml +1 -1
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/src/meshcore_cli/meshcore_cli.py +2 -2
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/.gitignore +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/LICENSE +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/README.md +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/flake.lock +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/flake.nix +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/src/meshcore_cli/__init__.py +0 -0
- {meshcore_cli-1.2.3 → meshcore_cli-1.2.4}/src/meshcore_cli/__main__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcore-cli
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Command line interface to meshcore companion radios
|
|
5
5
|
Project-URL: Homepage, https://github.com/fdlamotte/meshcore-cli
|
|
6
6
|
Project-URL: Issues, https://github.com/fdlamotte/meshcore-cli/issues
|
|
@@ -33,7 +33,7 @@ import re
|
|
|
33
33
|
from meshcore import MeshCore, EventType, logger
|
|
34
34
|
|
|
35
35
|
# Version
|
|
36
|
-
VERSION = "v1.2.
|
|
36
|
+
VERSION = "v1.2.4"
|
|
37
37
|
|
|
38
38
|
# default ble address is stored in a config file
|
|
39
39
|
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
|
|
@@ -237,7 +237,7 @@ async def handle_log_rx(event):
|
|
|
237
237
|
width = os.get_terminal_size().columns
|
|
238
238
|
cars = width - 13 - 2 * path_len - len(chan_name) - 1
|
|
239
239
|
dispmsg = message[0:cars]
|
|
240
|
-
txt = f"{ANSI_LIGHT_GRAY}{chan_name} {ANSI_DGREEN}{dispmsg+(cars-len(dispmsg))*
|
|
240
|
+
txt = f"{ANSI_LIGHT_GRAY}{chan_name} {ANSI_DGREEN}{dispmsg+(cars-len(dispmsg))*' '} {ANSI_YELLOW}[{path}]{ANSI_LIGHT_GRAY}{event.payload['snr']:6,.2f}{event.payload['rssi']:4}{ANSI_END}"
|
|
241
241
|
if handle_message.above:
|
|
242
242
|
print_above(txt)
|
|
243
243
|
else:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|