Add clear_screen helper and integrate into menus

This commit is contained in:
thePR0M3TH3AN
2025-07-05 20:21:49 -04:00
parent 79d1a1daba
commit 5b2757830e
4 changed files with 16 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
"""Utility functions for terminal output."""
def clear_screen() -> None:
"""Clear the terminal screen using an ANSI escape code."""
print("\033c", end="")