Remove pause and preserve output

This commit is contained in:
thePR0M3TH3AN
2025-07-05 22:48:19 -04:00
parent 608596a92a
commit fc0bc8832a

View File

@@ -1982,7 +1982,8 @@ class PasswordManager:
totp_list.sort(key=lambda t: t[0].lower())
print(colored("Press 'b' then Enter to return to the menu.", "cyan"))
while True:
print("\033c", end="")
# Clear screen while preserving scrollback
print("\033[2J\033[H", end="")
print(colored("Press 'b' then Enter to return to the menu.", "cyan"))
generated = [t for t in totp_list if not t[3]]
imported_list = [t for t in totp_list if t[3]]