Merge pull request #305 from PR0M3TH3AN/revert-304-codex/fix-premature-screen-wipe-during-entry-add

Revert "Improve TUI interaction timing"
This commit is contained in:
thePR0M3TH3AN
2025-07-06 06:41:28 -04:00
committed by GitHub

View File

@@ -1995,8 +1995,7 @@ 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:
# Clear screen while preserving scrollback
print("\033[2J\033[H", end="")
print("\033c", 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]]