Skip to content

Cli helpers

CLI helper utilities for the plant controller.

clear_screen()

Clear the terminal screen (cross-platform).

Source code in pt/controller_3/src/plant_controller/cli_helpers.py
6
7
8
def clear_screen():
    """Clear the terminal screen (cross-platform)."""
    os.system('cls' if os.name == 'nt' else 'clear')