diff --git a/pyproject.toml b/pyproject.toml index 9e0645b..a74e9db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,6 +27,7 @@ dependencies = [ "rich == 13.8.1", "structlog == 24.4.0", "tqdm == 4.66.5", + "trogon == 0.6.0", ] description = "Run Your Own Robot Swarm Testbed." readme = "README.md" diff --git a/testbed/cli/main.py b/testbed/cli/main.py index 523a372..5cbd401 100755 --- a/testbed/cli/main.py +++ b/testbed/cli/main.py @@ -16,6 +16,7 @@ from rich.console import Console from rich.live import Live from rich.table import Table +from trogon import tui from dotbot.logger import LOGGER from dotbot.hdlc import hdlc_encode, HDLCHandler, HDLCState @@ -468,6 +469,7 @@ def swarmit_status(port, baudrate, display=True): return result +@tui() @click.group() @click.option( "-p",