Enhance CLI breadcrumbs and update menu color

This commit is contained in:
thePR0M3TH3AN
2025-07-06 09:25:45 -04:00
parent 3cfebf5680
commit c35c4d66a0
4 changed files with 101 additions and 28 deletions

View File

@@ -11,11 +11,16 @@ def clear_screen() -> None:
print("\033c", end="")
def clear_and_print_fingerprint(fingerprint: str | None) -> None:
"""Clear the screen and optionally display the current fingerprint."""
def clear_and_print_fingerprint(
fingerprint: str | None, breadcrumb: str | None = None
) -> None:
"""Clear the screen and optionally display the current fingerprint and path."""
clear_screen()
if fingerprint:
print(colored(f"Seed Profile: {fingerprint}", "green"))
header = f"Seed Profile: {fingerprint}"
if breadcrumb:
header += f" > {breadcrumb}"
print(colored(header, "green"))
def pause(message: str = "Press Enter to continue...") -> None: