feat: add cli option and ctrl+u clears password
Code Quality / quality-checks (push) Has been cancelled
Security Scan / security-audit (push) Has been cancelled

- Add `--hide-password` CLI flag
- Show temporary "CLEARED" feedback on password clear
This commit is contained in:
2026-04-10 12:59:39 +02:00
parent caa448680e
commit fbd7aee9d2
5 changed files with 108 additions and 15 deletions
+3
View File
@@ -174,6 +174,9 @@ impl LockedSurface {
self.input_handler.set_key_highlight();
self.key_highlight_shown = false;
}
InputAction::PasswordCleared => {
self.renderer.show_cleared_feedback();
}
InputAction::SubmitPassword(_) => {
self.input_handler.set_key_highlight();
self.key_highlight_shown = false;