Enhance CLI breadcrumbs and update menu color

This commit is contained in:
thePR0M3TH3AN committed 2025-07-06 09:25:45 -04:00
1 parent 3cfebf5680
commit c35c4d66a0
4 files changed
+101 -28

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ _COLOR_MAP = {
"deterministic": "red",
"imported": "orange",
"index": "yellow",
"menu": "blue",
"menu": "cyan",
"stats": "green",
"default": "white",
}
+8 -3
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: