docs: clarify secret mode clipboard behavior

This commit is contained in:
thePR0M3TH3AN
2025-07-18 13:51:18 -04:00
parent 98f841790a
commit d71a4912bd
4 changed files with 70 additions and 5 deletions

View File

@@ -1356,7 +1356,16 @@ class PasswordManager:
"green",
)
)
print(colored(f"Password for {website_name}: {password}\n", "yellow"))
if self.secret_mode_enabled:
copy_to_clipboard(password, self.clipboard_clear_delay)
print(
colored(
f"[+] Password copied to clipboard. Will clear in {self.clipboard_clear_delay} seconds.",
"green",
)
)
else:
print(colored(f"Password for {website_name}: {password}\n", "yellow"))
# Automatically push the updated encrypted index to Nostr so the
# latest changes are backed up remotely.