mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-07 13:22:26 +00:00
Enhance CLI breadcrumbs and update menu color
This commit is contained in:
1 parent
3cfebf5680
commit
c35c4d66a0
4 files changed
+101
-28
No files matched your search
@@ -18,7 +18,7 @@ _COLOR_MAP = {
|
||||
"deterministic": "red",
|
||||
"imported": "orange",
|
||||
"index": "yellow",
|
||||
"menu": "blue",
|
||||
"menu": "cyan",
|
||||
"stats": "green",
|
||||
"default": "white",
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user